Searched refs:alignas (Results 1 - 25 of 33) sorted by relevance

12

/external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/
H A Dp8.cpp3 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}}
H A Dp5.cpp3 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(
[all...]
H A Dp6.cpp3 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(
[all...]
H A Dp7.cpp4 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/
H A Dfixit-cxx11-attributes.cpp20 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/
H A Dattr-cxx0x.cpp3 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(
[all...]
H A Dcxx11-attr-print.cpp19 // CHECK: int cxx11_alignas alignas(4);
20 alignas(4) int cxx11_alignas;
56 // CHECK: int n alignas(4
61 alignas(4) int n;
71 // CHECK: int n alignas(4
H A Dalignof.cpp70 alignas(32) extern int n[];
82 alignas(T) int T1;
H A Dopenmp_default_simd_align.cpp67 alignas(32) extern int n[2];
79 alignas(T) int T1;
/external/clang/lib/Headers/
H A Dstdalign.h28 #define alignas _Alignas macro
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/
H A Dstdalign.h28 #define alignas _Alignas macro
/external/clang/test/Headers/
H A Dcxx11.cpp9 #if defined alignas
10 #error alignas should not be defined in C++
H A Dc11.c21 alignas(alignof(int)) char c[4];
/external/v8/tools/gyp/test/mac/clang-cxx-language-standard/
H A Dc++98.cc10 alignas, enumerator in enum:cxx11_keywords
/external/clang/test/SemaTemplate/
H A Dalignas.cpp15 alignas(T...) char buffer[max(sizeof(T)...)];
18 struct alignas(8) A { char c; };
19 struct alignas(4) B { short s; };
/external/clang/test/Preprocessor/
H A Dcxx_oper_keyword_ms_compat.cpp24 #define alignas macro
109 alignas
/external/clang/test/CXX/expr/expr.const/
H A Dp5-0x.cpp62 // 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/CXX/dcl.dcl/dcl.spec/dcl.type/
H A Dp3-0x.cpp37 alignas(struct Aa {}) int x; // expected-error {{'Aa' cannot be defined in a type specifier}}
/external/clang/test/Parser/
H A Dcxx0x-attributes.cpp48 alignas(8) int aligned_attr;
82 alignas(float) [[]] final // expected-error {{an attribute list cannot appear here}}
83 alignas(float) [[]] [[]] alignas(float): base{}; // expected-error {{an attribute list cannot appear here}} function
86 [[]] [[]] alignas(16) final // expected-error {{an attribute list cannot appear here}}
87 [[]] [[]] alignas(16) [[]]{}; // expected-error {{an attribute list cannot appear here}}
91 class D final alignas ([l) {}]{}); // expected-error {{expected ',' or ']' in lambda capture list}} expected-error {{an attribute list cannot appear here}}
130 using [[]] alignas(4) [[]] ns::i; // expected-error {{an attribute list cannot appear here}}
131 using [[]] alignas(4) [[]] foobar = int; // expected-error {{an attribute list cannot appear here}} expected-error {{'alignas' attribut
[all...]
H A Dcxx11-stmt-attributes.cpp30 alignas(8) ; // expected-error {{'alignas' attribute cannot be applied to a statement}}
/external/clang/test/Lexer/
H A Dcxx0x_keyword_as_cxx98.cpp27 int alignas; // expected-warning {{'alignas' is a keyword in C++11}} variable
H A Dkeywords_test.cpp46 CXX11_KEYWORD(alignas); variable
/external/clang/test/Analysis/
H A Dpadding_c.c11 alignas(4) int i;
18 alignas(8) int i;
/external/boringssl/src/crypto/poly1305/
H A Dpoly1305_test.cc28 // MSVC doesn't support C++11 |alignas|.
31 #define ALIGNED alignas(16)
/external/clang/test/Misc/
H A Dast-dump-attr.cpp113 alignas(8) extern int x;

Completed in 646 milliseconds

12