Home | History | Annotate | Download | only in Parser

Lines Matching full:here

40 const [[]] int between_attr_2 = 0; // expected-error {{an attribute list cannot appear here}}
70 attr_after_class_name_decl [[]] [[]]; // expected-error {{an attribute list cannot appear here}}
73 attr_after_class_name_definition [[]] [[]] [[]]{}; // expected-error {{an attribute list cannot appear here}}
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}}
90 [[]] struct no_init_declarators; // expected-error {{an attribute list cannot appear here}}
91 template<typename> [[]] struct no_init_declarators_template; // expected-error {{an attribute list cannot appear here}}
94 [[]] struct no_init_declarators; // expected-error {{an attribute list cannot appear here}}
109 int (paren_attr) [[]]; // expected-error {{an attribute list cannot appear here}}
110 unsigned [[]] int attr_in_decl_spec; // expected-error {{an attribute list cannot appear here}}
111 unsigned [[]] int [[]] const double_decl_spec = 0; // expected-error 2{{an attribute list cannot appear here}}
115 extern "C++" [[]] { } // expected-error {{an attribute list cannot appear here}}
116 [[]] template <typename T> void before_template_attr (); // expected-error {{an attribute list cannot appear here}}
117 [[]] namespace ns { int i; } // expected-error {{an attribute list cannot appear here}} expected-note {{declared here}}
118 [[]] static_assert(true, ""); //expected-error {{an attribute list cannot appear here}}
119 [[]] asm(""); // expected-error {{an attribute list cannot appear here}}
121 [[]] using ns::i; // expected-error {{an attribute list cannot appear here}}
125 [[]] using T = int; // expected-error {{an attribute list cannot appear here}}
128 using ns::i [[]]; // expected-error {{an attribute list cannot appear here}}
129 using [[]] ns::i; // expected-error {{an attribute list cannot appear here}}
135 auto trailing() -> [[]] const int; // expected-error {{an attribute list cannot appear here}}
136 auto trailing() -> const [[]] int; // expected-error {{an attribute list cannot appear here}}
146 struct [[]] N::S s; // expected-error {{an attribute list cannot appear here}}
147 struct [[]] Template<int> t; // expected-error {{an attribute list cannot appear here}}
148 struct [[]] ::template Template<int> u; // expected-error {{an attribute list cannot appear here}}
149 template struct [[]] Template<char>; // expected-error {{an attribute list cannot appear here}}
157 k_123 [[]] = 123 // expected-error {{an attribute list cannot appear here}}
159 enum [[]] E1 e; // expected-error {{an attribute list cannot appear here}}
160 enum [[]] class E4 { }; // expected-error {{an attribute list cannot appear here}}
164 friend int f [[]] (); // expected-FIXME{{an attribute list cannot appear here}}
165 friend int f1 [[noreturn]] (); //expected-error{{an attribute list cannot appear here}}
167 [[]] friend int g(); // expected-error{{an attribute list cannot appear here}}
170 [[]] friend int f3(), f4(), f5(); // expected-error{{an attribute list cannot appear here}}
171 friend int f6 [[noreturn]] (), f7 [[noreturn]] (), f8 [[noreturn]] (); // expected-error3 {{an attribute list cannot appear here}}
172 friend class [[]] C; // expected-error{{an attribute list cannot appear here}}
173 [[]] friend class D; // expected-error{{an attribute list cannot appear here}}
174 [[]] friend int; // expected-error{{an attribute list cannot appear here}}
177 template void tmpl [[]] (int); // expected-FIXME {{an attribute list cannot appear here}}
178 template [[]] void tmpl(char); // expected-error {{an attribute list cannot appear here}}
206 } [[]] catch (...) { // expected-error {{an attribute list cannot appear here}}
246 for ([[]] x = 0; ; ) {} // expected-error {{an attribute list cannot appear here}}
247 for (; [[]] x < 5; ) {} // expected-error {{an attribute list cannot appear here}}
250 while ([[]] true) { // expected-error {{an attribute list cannot appear here}}
253 } while ([[]] false); // expected-error {{an attribute list cannot appear here}}
271 expected-error {{an attribute list cannot appear here}}
273 expected-error {{an attribute list cannot appear here}}