/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
|
p6.cpp | 66 static_assert(alignof(W<4,4>) == 4, "");
|
/external/clang/test/Driver/ |
x86_64-nacl-types.cpp | 7 static_assert(alignof(char) == 1, "alignof char is wrong"); 9 static_assert(alignof(short) == 2, "sizeof short is wrong"); 10 static_assert(alignof(short) == 2, "alignof short is wrong"); 12 static_assert(alignof(int) == 4, "sizeof int is wrong"); 13 static_assert(alignof(int) == 4, "alignof int is wrong"); 16 static_assert(sizeof(long) == 4, "alignof long is wrong"); 19 static_assert(alignof(long long) == 8, "alignof long long is wrong wrong") [all...] |
/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/test/SemaCXX/ |
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...] |
alignof-sizeof-reference.cpp | 7 static_assert(alignof(r) == 1, "bad alignment"); // expected-warning {{GNU extension}} 8 static_assert(alignof(char&) == 1, "bad alignment"); 23 (void)alignof(f_template<int>); // expected-error{{reference to overloaded function could not be resolved; did you mean to call it?}} expected-warning {{GNU extension}}
|
cxx98-compat.cpp | 139 const int align_of = alignof(int); // expected-warning {{alignof expressions are incompatible with C++98}}
|
/external/clang/lib/Headers/ |
stdalign.h | 29 #define alignof _Alignof macro
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.7/lib/gcc/arm-eabi/4.7/include/ |
stdalign.h | 32 #define alignof _Alignof macro
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.7/lib/gcc/arm-linux-androideabi/4.7/include/ |
stdalign.h | 32 #define alignof _Alignof macro
|
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.7/lib/gcc/mipsel-linux-android/4.7/include/ |
stdalign.h | 32 #define alignof _Alignof macro
|
/prebuilts/gcc/darwin-x86/x86/i686-linux-android-4.7/lib/gcc/i686-linux-android/4.7/include/ |
stdalign.h | 32 #define alignof _Alignof macro
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/lib/gcc/arm-eabi/4.7/include/ |
stdalign.h | 32 #define alignof _Alignof macro
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/lib/gcc/arm-linux-androideabi/4.7/include/ |
stdalign.h | 32 #define alignof _Alignof macro
|
/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.7/lib/gcc/mipsel-linux-android/4.7/include/ |
stdalign.h | 32 #define alignof _Alignof macro
|
/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.7/lib/gcc/i686-linux-android/4.7/include/ |
stdalign.h | 32 #define alignof _Alignof macro
|
/prebuilts/sdk/renderscript/clang-include/ |
stdalign.h | 29 #define alignof _Alignof macro
|
/external/clang/test/Headers/ |
cxx11.cpp | 9 #if defined alignof 10 #error alignof should not be defined in C++
|
c11.c | 17 alignas(alignof(int)) char c[4];
|
/external/clang/test/Preprocessor/ |
cxx_oper_keyword_ms_compat.cpp | 15 #define alignof macro 100 alignof
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/ |
p3-0x.cpp | 40 int b = alignof(struct Ao {}); // expected-error {{'Ao' can not be defined in a type specifier}}
|
/external/chromium/third_party/libjingle/overrides/talk/base/ |
basictypes.h | 54 #define alignof(t) __alignof(t) macro 56 #define alignof(t) __alignof__(t)
|
/external/clang/test/Lexer/ |
cxx0x_keyword_as_cxx98.cpp | 19 extern int CONCAT(align,of); // expected-warning {{'alignof' is a keyword in C++11}} 28 int alignof; // already diagnosed in this TU variable
|
/external/clang/test/SemaTemplate/ |
alignas.cpp | 23 static_assert(alignof(my_union<A, B, C>) == 8, "");
|
/external/chromium/third_party/libjingle/source/talk/base/ |
basictypes.h | 98 #define alignof(t) __alignof(t) macro 100 #define alignof(t) __alignof__(t)
|