| /llvm-project-15.0.7/clang/test/Frontend/ |
| H A D | mips-long-double.c | 10 _Static_assert(_Alignof(long double) == 8, "alignof long double is wrong"); 13 _Static_assert(_Alignof(long double) == 16, "alignof long double is wrong"); 17 _Static_assert(_Alignof(long double) == 8, "alignof long double is wrong");
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | class-layout.cpp | 579 _Static_assert(_Alignof(A) == _Alignof(int), ""); 584 _Static_assert(_Alignof(B) == 1, ""); 587 _Static_assert(_Alignof(B) == _Alignof(int), ""); 594 _Static_assert(_Alignof(C) == 2, ""); 599 _Static_assert(_Alignof(D) == 1, ""); 602 _Static_assert(_Alignof(D) == 2, "");
|
| H A D | sizeless-1.cpp | 33 int alignof_int8 = _Alignof(svint8_t); // expected-error {{invalid application of 'a… 34 int alignof_int8_var = _Alignof(*extern_int8_ptr); // expected-error {{invalid application of 'a… 35 int alignof_int8_var_ptr = _Alignof(extern_int8_ptr); // expected-warning {{GNU extension}}
|
| /llvm-project-15.0.7/libc/include/llvm-libc-types/ |
| H A D | __futex_word.h | 16 _Alignas(sizeof(unsigned int) > _Alignof(unsigned int) 18 : _Alignof(unsigned int)) unsigned int __word;
|
| /llvm-project-15.0.7/libc/include/ |
| H A D | __llvm-libc-common.h | 29 #undef _Alignof 30 #define _Alignof alignof macro
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | xcore-abi.c | 4 _Static_assert(_Alignof(long long) == 4, "alignof long long is wrong"); 7 _Static_assert(_Alignof(double) == 4, "alignof double is wrong");
|
| H A D | renderscript.c | 18 _Static_assert(_Alignof(long) == LONG_WIDTH_AND_ALIGN, "sizeof long is wrong");
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | warn-unused-value.c | 100 …(void)_Alignof(val++); // expected-warning {{expression with side effects has no effect in an une… in unevaluated_operands() 106 (void)_Alignof(int[++val]); // Ok in unevaluated_operands()
|
| H A D | sizeless-1.c | 23 int alignof_int8 = _Alignof(svint8_t); // expected-error {{invalid application of 'a… 24 int alignof_int8_var = _Alignof(*extern_int8_ptr); // expected-error {{invalid application of 'a… 25 int alignof_int8_var_ptr = _Alignof(extern_int8_ptr); // expected-warning {{GNU extension}}
|
| H A D | align-x86-abi7.c | 11 STATIC_ASSERT(_Alignof(type) == pref)
|
| H A D | align-x86.c | 11 STATIC_ASSERT(_Alignof(type) == abi)
|
| H A D | gnu-flags.c | 42 _Static_assert(_Alignof(align) > 0, "align's alignment is wrong");
|
| H A D | warn-unsequenced.c | 96 _Alignof(++a) + ++a; // expected-warning {{extension}} in test()
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | stdalign.h | 15 #define alignof _Alignof
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | c1x-alignas.c | 10 char _Alignas(_Alignof(int)) c5;
|
| H A D | expressions.c | 68 …int x4 = _Alignof int; // expected-error {{expected parentheses around type name in _Alig…
|
| /llvm-project-15.0.7/libcxx/test/libcxx/ |
| H A D | libcpp_alignof.pass.cpp | 26 static_assert(_LIBCPP_ALIGNOF(T) == _Alignof(T), ""); in test()
|
| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | ast-dump-expr.c | 231 _Alignof(int); in UnaryOperators()
|
| H A D | ast-dump-expr-json.c | 65 _Alignof(int); in UnaryOperators()
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | cfg.cpp | 572 _Alignof(int[++x]); in vla_evaluate()
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | test_macros.h | 126 # define TEST_ALIGNOF(...) _Alignof(__VA_ARGS__)
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TokenKinds.def | 321 KEYWORD(_Alignof , KEYALL) 382 // alignof and _Alignof return the required ABI alignment
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | __config | 424 # define _LIBCPP_ALIGNOF(_Tp) _Alignof(_Tp)
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | LanguageExtensions.rst | 1277 if support for the ``_Alignof`` keyword is enabled.
|