Home | History | Annotate | Download | only in Sema

Lines Matching refs:_Alignas

4 _Alignas(3) int align_illegal; //expected-error {{requested alignment is not a power of 2}}
5 _Alignas(int) char align_big;
6 _Alignas(1) int align_small; // expected-error {{requested alignment is less than minimum}}
7 _Alignas(1) unsigned _Alignas(8) int _Alignas(1) align_multiple;
10 _Alignas(8) int member;
11 _Alignas(1) char bitfield : 1; // expected-error {{'_Alignas' attribute cannot be applied to a bit-field}}
14 typedef _Alignas(8) char align_typedef; // expected-error {{'_Alignas' attribute only applies to variables and fields}}
16 void f(_Alignas(1) char c) { // expected-error {{'_Alignas' attribute cannot be applied to a function parameter}}
17 _Alignas(1) register char k; // expected-error {{'_Alignas' attribute cannot be applied to a variable with 'register' storage class}}