/external/clang/test/Frontend/ |
x86_64-nacl-types.cpp | 7 static_assert(alignof(char) == 1, "alignof char is wrong"); 10 static_assert(alignof(short) == 2, "alignof short is wrong"); 13 static_assert(alignof(int) == 4, "alignof int is wrong"); 16 static_assert(alignof(long) == 4, "alignof long is wrong"); 19 static_assert(alignof(long long) == 8, "alignof long long is wrong wrong") [all...] |
/external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/ |
p7.cpp | 7 static_assert(alignof(X<char, int, sizeof(int)>) == alignof(int), ""); variable 8 static_assert(alignof(X<int, char, 1>) == alignof(int), ""); variable 15 static_assert(alignof(Y<char, int, sizeof(int)>) == alignof(int), ""); variable 16 static_assert(alignof(Y<int, char, 1>) == alignof(int), ""); // expected-note {{in instantiation of}} variable 19 int x = alignof int; // expected-error {{expected parentheses around type name in alignof expression} [all...] |
/external/clang/test/SemaCXX/ |
attr-aligned.cpp | 5 static_assert(alignof(S1) == 8, "attribute ignored"); 6 static_assert(alignof(struct S1) == 1, "attribute applied to original type"); 9 static_assert(alignof(S2) == 8, "attribute not propagated"); 10 static_assert(alignof(struct S2) == 8, "attribute ignored"); 15 static_assert(alignof(S3) == 8, "attribute ignored"); 16 static_assert(alignof(struct S3) == 4, "attribute clobbered");
|
attr-cxx0x.cpp | 28 template <typename... B> struct alignas(alignof(A) * alignof(B)...) inner {}; 36 static_assert(alignof(align_big) == alignof(int), "k's alignment is wrong"); // expected-warning{{'alignof' applied to an expression is a GNU extension}} 37 static_assert(alignof(align_small) == 1, "j's alignment is wrong"); // expected-warning{{'alignof' applied to an expression is a GNU extension}} 38 static_assert(alignof(align_multiple) == 8, "l's alignment is wrong"); // expected-warning{{'alignof' applied to an expression is a GNU extension}} 39 static_assert(alignof(align_member) == 8, "quuux's alignment is wrong") 43 static_assert(alignof(align_class_temp_pack_type<short, int, long>) == alignof(long), "template's alignment is wrong"); variable 45 static_assert(alignof(outer<int,char>::inner<double,short>) == alignof(int) * alignof(double), "template's alignment is wrong"); variable [all...] |
/external/libcxx/test/libcxx/experimental/any/ |
size_and_alignment.pass.cpp | 22 static_assert(alignof(any) == alignof(void*), "");
|
/external/clang/test/Sema/ |
alignas.c | 25 _Static_assert(alignof(align_big) == alignof(int), "k's alignment is wrong"); variable 26 _Static_assert(alignof(align_small) == 1, "j's alignment is wrong"); 27 _Static_assert(alignof(align_multiple) == 8, "l's alignment is wrong"); 28 _Static_assert(alignof(struct align_member) == 8, "quuux's alignment is wrong");
|
/external/clang/lib/Headers/ |
stdalign.h | 29 #define alignof _Alignof macro
|
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/ |
stdalign.h | 29 #define alignof _Alignof macro
|
/prebuilts/clang/darwin-x86/host/3.6/lib/clang/3.6/include/ |
stdalign.h | 29 #define alignof _Alignof macro
|
/prebuilts/clang/host/darwin-x86/3.8/lib/clang/3.8/include/ |
stdalign.h | 29 #define alignof _Alignof macro
|
/prebuilts/clang/host/darwin-x86/clang-2629532/lib64/clang/3.8/include/ |
stdalign.h | 29 #define alignof _Alignof macro
|
/prebuilts/clang/host/darwin-x86/clang-2658975/lib64/clang/3.8/include/ |
stdalign.h | 29 #define alignof _Alignof macro
|
/prebuilts/clang/host/darwin-x86/clang-2690385/lib64/clang/3.8/include/ |
stdalign.h | 29 #define alignof _Alignof macro
|
/prebuilts/clang/host/linux-x86/3.8/lib/clang/3.8/include/ |
stdalign.h | 29 #define alignof _Alignof macro
|
/prebuilts/clang/host/linux-x86/clang-2629532/lib64/clang/3.8/include/ |
stdalign.h | 29 #define alignof _Alignof macro
|
/prebuilts/clang/host/linux-x86/clang-2658975/lib64/clang/3.8/include/ |
stdalign.h | 29 #define alignof _Alignof macro
|
/prebuilts/clang/host/linux-x86/clang-2690385/lib64/clang/3.8/include/ |
stdalign.h | 29 #define alignof _Alignof macro
|
/prebuilts/clang/linux-x86/host/3.6/lib/clang/3.6/include/ |
stdalign.h | 29 #define alignof _Alignof macro
|
/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9/include/ |
stdalign.h | 32 #define alignof _Alignof macro
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8/lib/gcc/arm-eabi/4.8/include/ |
stdalign.h | 32 #define alignof _Alignof macro
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9/include/ |
stdalign.h | 32 #define alignof _Alignof macro
|
/prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9/include/ |
stdalign.h | 32 #define alignof _Alignof macro
|
/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9/include/ |
stdalign.h | 32 #define alignof _Alignof macro
|
/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9/include/ |
stdalign.h | 32 #define alignof _Alignof macro
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/lib/gcc/arm-eabi/4.8/include/ |
stdalign.h | 32 #define alignof _Alignof macro
|