Lines Matching refs:alignas
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… in f()
15 …alignas(1) register char k; // expected-error {{'alignas' attribute cannot be applied to a variabl… in f()
17 …} catch (alignas(4) int n) { // expected-error {{'alignas' attribute cannot be applied to a 'catch… in f()
22 template <unsigned A> struct alignas(A) align_class_template {};
24 template <typename... T> struct alignas(T...) align_class_temp_pack_type {};
25 template <unsigned... A> struct alignas(A...) align_class_temp_pack_expr {};
26 struct alignas(int...) alignas_expansion_no_packs {}; // expected-error {{pack expansion does not c…
28 template <typename... B> struct alignas(alignof(A) * alignof(B)...) inner {};
33 typedef char align_typedef alignas(8); // expected-error {{'alignas' attribute only applies to vari…
34 template<typename T> using align_alias_template = align_typedef alignas(8); // expected-error {{'al…
52 alignas(4) auto PR19252 = 0;