Home | History | Annotate | Download | only in Parser

Lines Matching defs:alignas

48 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}}
86 [[]] [[]] alignas(16) final // expected-error {{an attribute list cannot appear here}}
87 [[]] [[]] alignas(16) [[]]{}; // expected-error {{an attribute list cannot appear here}}
125 using [[]] alignas(4) [[]] ns::i; // expected-error {{an attribute list cannot appear here}}
126 using [[]] alignas(4) [[]] foobar = int; // expected-error {{an attribute list cannot appear here}} expected-error {{'alignas' attribute only applies to}}
140 alignas(4 ns::i; // expected-note {{to match this '('}}
200 alignas int aligned_no_params; // expected-error {{expected '('}}
201 alignas(i) int aligned_nonconst; // expected-error {{'aligned' attribute requires integer constant}} expected-note {{read of non-const variable 'i'}}