Lines Matching refs:alignas
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;
19 alignas(8) extern int n6; // expected-note {{declared with 'alignas' attribute here}}
22 alignas(8) int n7;
24 alignas(8) extern int n8; // expected-note {{declared with 'alignas' attribute here}}
28 alignas(4) extern int n9; // expected-note {{declared with 'alignas' attribute here}}
31 enum alignas(2) E : char; // expected-note {{declared with 'alignas' attribute here}}
34 enum alignas(4) F : char; // expected-note {{previous declaration is here}}
35 enum alignas(2) F : char; // expected-error {{redeclaration has different alignment requirement (2 …
38 enum alignas(8) G : char {};
42 enum alignas(1) H : char; // expected-note {{declared with 'alignas' attribute here}}
46 struct alignas(16) S; // expected-note {{declared with 'alignas' attribute here}}
50 struct alignas(2) T;
51 struct alignas(2) T { char c; }; // expected-note {{previous declaration is here}}
53 struct alignas(4) T; // expected-error {{redeclaration has different alignment requirement (4 vs 2)…
56 struct alignas(2) U {};
59 struct alignas(1) V; // expected-note {{declared with 'alignas' attribute here}}
61 template<int M, int N> struct alignas(M) W;
62 template<int M, int N> struct alignas(N) W {};
69 alignas(M) alignas(N) static char Buffer[32]; // expected-note {{previous declaration is here}}
72 alignas(O) alignas(P) char X<M, N, O, P>::Buffer[32]; // expected-error {{redeclaration has differe…
77 enum alignas(M) alignas(N) E : char;
80 enum alignas(O) alignas(P) Y<M,N,O,P>::E : char { e };
86 alignas(4) struct Incomplete incomplete; // expected-error {{incomplete type}} expected-note {{forw…