Lines Matching refs:alignas

3 alignas(1) int n1; // expected-error {{requested alignment is less than minimum alignment of 4 for …
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); // ok
8 alignas(1) alignas(4) int n6 alignas(2); // ok
9 alignas(1) int n7 alignas(2), // expected-error {{less than minimum alignment}}
10 n8 alignas(4); // ok
11 alignas(8) int n9 alignas(2); // ok, overaligned
12 alignas(1) extern int n10; // expected-error {{less than minimum alignment}}
14 enum alignas(1) E1 {}; // expected-error {{requested alignment is less than minimum alignment of 4 …
15 enum alignas(1) E2 : char {}; // ok
16 enum alignas(4) E3 { e3 = 0 }; // ok
17 enum alignas(4) E4 { e4 = 1ull << 33 }; // expected-error {{requested alignment is less than minimu…
18 enum alignas(8) E5 {};
26 alignas(8) int n;
28 struct alignas(2) S2 { // expected-error {{requested alignment is less than minimum alignment of 4 …
31 struct alignas(2) S3 { // expected-error {{requested alignment is less than minimum alignment of 8 …
34 struct alignas(2) S4 : S1 { // expected-error {{requested alignment is less than minimum alignment …
37alignas(2) S1 s1; // expected-error {{requested alignment is less than minimum alignment of 8 for …
44 struct alignas(2) alignas(8) alignas(1) S8 : S1 {
47 S1 s1 alignas(4); // expected-error {{requested alignment is less than minimum alignment of 8 for t…
48 S6 s6 alignas(4); // expected-error {{requested alignment is less than minimum alignment of 8 for t…
49 S7 s7 alignas(4); // expected-error {{requested alignment is less than minimum alignment of 8 for t…
52 struct alignas(N) X { // expected-error 3{{requested alignment is less than minimum}}
53 alignas(M) T t; // expected-error 3{{requested alignment is less than minimum}}
67 enum alignas(N) E : T {}; // expected-error {{requested alignment is less than minimum}}
76 alignas(N) T v; // expected-error {{requested alignment is less than minimum}} in f()