Home
last modified time | relevance | path

Searched refs:_Alignof (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/clang/test/Frontend/
H A Dmips-long-double.c10 _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 Dclass-layout.cpp579 _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 Dsizeless-1.cpp33 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.h16 _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.h29 #undef _Alignof
30 #define _Alignof alignof macro
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dxcore-abi.c4 _Static_assert(_Alignof(long long) == 4, "alignof long long is wrong");
7 _Static_assert(_Alignof(double) == 4, "alignof double is wrong");
H A Drenderscript.c18 _Static_assert(_Alignof(long) == LONG_WIDTH_AND_ALIGN, "sizeof long is wrong");
/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-unused-value.c100 …(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 Dsizeless-1.c23 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 Dalign-x86-abi7.c11 STATIC_ASSERT(_Alignof(type) == pref)
H A Dalign-x86.c11 STATIC_ASSERT(_Alignof(type) == abi)
H A Dgnu-flags.c42 _Static_assert(_Alignof(align) > 0, "align's alignment is wrong");
H A Dwarn-unsequenced.c96 _Alignof(++a) + ++a; // expected-warning {{extension}} in test()
/llvm-project-15.0.7/clang/lib/Headers/
H A Dstdalign.h15 #define alignof _Alignof
/llvm-project-15.0.7/clang/test/Parser/
H A Dc1x-alignas.c10 char _Alignas(_Alignof(int)) c5;
H A Dexpressions.c68 …int x4 = _Alignof int; // expected-error {{expected parentheses around type name in _Alig…
/llvm-project-15.0.7/libcxx/test/libcxx/
H A Dlibcpp_alignof.pass.cpp26 static_assert(_LIBCPP_ALIGNOF(T) == _Alignof(T), ""); in test()
/llvm-project-15.0.7/clang/test/AST/
H A Dast-dump-expr.c231 _Alignof(int); in UnaryOperators()
H A Dast-dump-expr-json.c65 _Alignof(int); in UnaryOperators()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dcfg.cpp572 _Alignof(int[++x]); in vla_evaluate()
/llvm-project-15.0.7/libcxx/test/support/
H A Dtest_macros.h126 # define TEST_ALIGNOF(...) _Alignof(__VA_ARGS__)
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTokenKinds.def321 KEYWORD(_Alignof , KEYALL)
382 // alignof and _Alignof return the required ABI alignment
/llvm-project-15.0.7/libcxx/include/
H A D__config424 # define _LIBCPP_ALIGNOF(_Tp) _Alignof(_Tp)
/llvm-project-15.0.7/clang/docs/
H A DLanguageExtensions.rst1277 if support for the ``_Alignof`` keyword is enabled.