HomeSort by relevance Sort by last modified time
    Searched refs:alignas (Results 1 - 25 of 33) sorted by null

1 2

  /external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/
p8.cpp 3 alignas(double) void f(); // expected-error {{'alignas' attribute only applies to variables, data members and tag types}}
4 alignas(double) unsigned char c[sizeof(double)]; // expected-note {{previous}}
6 alignas(float) extern unsigned char c[sizeof(double)]; // expected-error {{different alignment}}
p5.cpp 3 alignas(1) int n1; // expected-error {{requested alignment is less than minimum alignment of 4 for type 'int'}}
4 alignas(1) alignas(2) int n2; // expected-error {{less than minimum alignment}}
5 alignas(1) alignas(2) alignas(4) int n3; // ok
6 alignas(1) alignas(2) alignas(0) int n4; // expected-error {{less than minimum alignment}}
7 alignas(1) alignas(2) int n5 alignas(4); // o
    [all...]
p6.cpp 3 alignas(4) extern int n1; // expected-note {{previous declaration}}
4 alignas(8) int n1; // expected-error {{redeclaration has different alignment requirement (8 vs 4)}}
6 alignas(8) int n2; // expected-note {{previous declaration}}
7 alignas(4) extern int n2; // expected-error {{different alignment requirement (4 vs 8)}}
9 alignas(8) extern int n3; // expected-note {{previous declaration}}
10 alignas(4) extern int n3; // expected-error {{different alignment requirement (4 vs 8)}}
13 alignas(8) extern int n4;
15 alignas(8) extern int n5;
18 int n6; // expected-error {{'alignas' must be specified on definition if it is specified on any declaration}}
19 alignas(8) extern int n6; // expected-note {{declared with 'alignas' attribute here}
    [all...]
p7.cpp 4 alignas(T) alignas(A) T buffer[N];
12 alignas(A) T buffer[N]; // expected-error {{requested alignment is less than minimum alignment of 4 for type 'int [1]'}}
  /external/clang/test/FixIt/
fixit-cxx11-attributes.cpp 20 alignas(float) [[]] final // expected-error {{an attribute list cannot appear here}}
21 alignas(float) [[]] [[]] alignas(float): base{}; // expected-error {{an attribute list cannot appear here}} function in namespace:ClassSpecifier
28 [[]] [[]] alignas(16) final // expected-error {{an attribute list cannot appear here}}
29 [[]] [[]] alignas(16) [[]]{}; // expected-error {{an attribute list cannot appear here}}
  /external/clang/test/SemaCXX/
attr-cxx0x.cpp 3 int align_illegal alignas(3); //expected-error {{requested alignment is not a power of 2}}
4 char align_big alignas(int);
5 int align_small alignas(1); // expected-error {{requested alignment is less than minimum}}
6 int align_multiple alignas(1) alignas(8) alignas(1);
7 alignas(4) int align_before;
10 int member alignas(8);
11 int bitfield alignas(1) : 1; // expected-error {{}}
14 void f(alignas(1) char c) { // expected-error {{'alignas' attribute cannot be applied to a function parameter}
    [all...]
cxx11-attr-print.cpp 19 // CHECK: int cxx11_alignas alignas(4);
20 alignas(4) int cxx11_alignas;
59 // CHECK: int n alignas(4
64 alignas(4) int n;
74 // CHECK: int n alignas(4
  /external/clang/lib/Headers/
stdalign.h 28 #define alignas _Alignas macro
  /prebuilts/gcc/darwin-x86/arm/arm-eabi-4.7/lib/gcc/arm-eabi/4.7/include/
stdalign.h 31 #define alignas _Alignas macro
  /prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.7/lib/gcc/arm-linux-androideabi/4.7/include/
stdalign.h 31 #define alignas _Alignas macro
  /prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.7/lib/gcc/mipsel-linux-android/4.7/include/
stdalign.h 31 #define alignas _Alignas macro
  /prebuilts/gcc/darwin-x86/x86/i686-linux-android-4.7/lib/gcc/i686-linux-android/4.7/include/
stdalign.h 31 #define alignas _Alignas macro
  /prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/lib/gcc/arm-eabi/4.7/include/
stdalign.h 31 #define alignas _Alignas macro
  /prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/lib/gcc/arm-linux-androideabi/4.7/include/
stdalign.h 31 #define alignas _Alignas macro
  /prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.7/lib/gcc/mipsel-linux-android/4.7/include/
stdalign.h 31 #define alignas _Alignas macro
  /prebuilts/gcc/linux-x86/x86/i686-linux-android-4.7/lib/gcc/i686-linux-android/4.7/include/
stdalign.h 31 #define alignas _Alignas macro
  /prebuilts/sdk/renderscript/clang-include/
stdalign.h 28 #define alignas _Alignas macro
  /external/chromium_org/tools/gyp/test/mac/clang-cxx-language-standard/
c++98.cc 10 alignas, enumerator in enum:cxx11_keywords
  /external/clang/test/Headers/
cxx11.cpp 6 #if defined alignas
7 #error alignas should not be defined in C++
c11.c 19 alignas(alignof(int)) char c[4];
  /external/clang/test/SemaTemplate/
alignas.cpp 15 alignas(T...) char buffer[max(sizeof(T)...)];
18 struct alignas(8) A { char c; };
19 struct alignas(4) B { short s; };
  /external/clang/test/CXX/expr/expr.const/
p5-0x.cpp 62 // alignas(assignment-expression), the assignment-expression shall be an
64 alignas(ok) int alignas1;
65 alignas(incomplete) int alignas2; // expected-error {{incomplete}}
66 alignas(expl) int alignas3; // expected-error {{explicit conversion}}
67 alignas(ambig) int alignas4; // expected-error {{ambiguous conversion}}
  /external/clang/test/Preprocessor/
cxx_oper_keyword_ms_compat.cpp 14 #define alignas macro
99 alignas
  /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/
p3-0x.cpp 37 alignas(struct Aa {}) int x; // expected-error {{'Aa' can not be defined in a type specifier}}
  /external/clang/test/Parser/
cxx11-stmt-attributes.cpp 30 alignas(8) ; // expected-error {{'alignas' attribute cannot be applied to a statement}}

Completed in 534 milliseconds

1 2