Debian Codegraph @

external/llvm/releases/22.0.0/clang/lib/Headers/__stddef_max_align_t.h

raw
1 /*===---- __stddef_max_align_t.h - Definition of max_align_t ---------------===
2 *
3 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 * See https://llvm.org/LICENSE.txt for license information.
5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 *
7 *===-----------------------------------------------------------------------===
8 */
9
10 #ifndef __CLANG_MAX_ALIGN_T_DEFINED
11 #define __CLANG_MAX_ALIGN_T_DEFINED
12
13 #if defined(_MSC_VER)
14 typedef double max_align_t;
15 #else
16 // Define 'max_align_t' to match the GCC definition.
17 typedef struct {
18 long long __clang_max_align_nonce1
19 __attribute__((__aligned__(__alignof__(long long))));
20 long double __clang_max_align_nonce2
21 __attribute__((__aligned__(__alignof__(long double))));
22 } max_align_t;
23 #endif
24
25 #endif