• Home
  • Raw
  • Download

Lines Matching full:contains

25 …typedef tuple<pair<Types, OtherTypes>...> type; // expected-error{{pack expansion contains paramet…
43 …: public Types, public T // expected-error{{base type contains unexpanded parameter pack 'Types'}}
48 …typedef Types *types_pointer; // expected-error{{declaration type contains unexpanded parameter pa…
51 …typedef Types (^block_pointer_1)(int); // expected-error{{declaration type contains unexpanded par…
52 …typedef int (^block_pointer_2)(Types); // expected-error{{declaration type contains unexpanded par…
55 …typedef Types &lvalue_ref; // expected-error{{declaration type contains unexpanded parameter pack …
58 …typedef Types &&rvalue_ref; // expected-error{{declaration type contains unexpanded parameter pack…
61 …typedef Types TestPPName::* member_pointer_1; // expected-error{{declaration type contains unexpan…
62 …typedef int Types::*member_pointer_2; // expected-error{{declaration type contains unexpanded para…
65 …typedef Types constant_array[17]; // expected-error{{declaration type contains unexpanded paramete…
68 …typedef Types incomplete_array[]; // expected-error{{declaration type contains unexpanded paramete…
72 …Types variable_array[i]; // expected-error{{declaration type contains unexpanded parameter pack 'T… in f()
76 …typedef Types dependent_sized_array[N]; // expected-error{{declaration type contains unexpanded pa…
79 …_attribute__((ext_vector_type(N))); // expected-error{{declaration type contains unexpanded parame…
84 …_attribute__((ext_vector_type(4))); // expected-error{{declaration type contains unexpanded parame…
87 …typedef Types (function_type_1)(int); // expected-error{{declaration type contains unexpanded para…
88 …typedef int (function_type_2)(Types); // expected-error{{declaration type contains unexpanded para…
96 …tatic_cast<Types>(0))) typeof_expr; // expected-error{{declaration type contains unexpanded parame…
99 …typedef __typeof__(Types) typeof_type; // expected-error{{declaration type contains unexpanded pa…
102 …tatic_cast<Types>(0))) typeof_expr; // expected-error{{declaration type contains unexpanded parame…
109 …typedef Types template_type_parm; // expected-error{{declaration type contains unexpanded paramete…
114 …typedef pair<Types, int> template_specialization; // expected-error{{declaration type contains une…
119 …typedef typename Types::type dependent_name; // expected-error{{declaration type contains unexpand…
122 …mplate apply<int> dependent_name_1; // expected-error{{declaration type contains unexpanded parame…
123 …late apply<Types> dependent_name_2; // expected-error{{declaration type contains unexpanded parame…
135 Values; // expected-error{{expression contains unexpanded parameter pack 'Values'}} in test_unexpanded_in_exprs()
141 (Values); // expected-error{{expression contains unexpanded parameter pack 'Values'}} in test_unexpanded_in_exprs()
143 -Values; // expected-error{{expression contains unexpanded parameter pack 'Values'}} in test_unexpanded_in_exprs()
148 …__builtin_offsetof(OffsetMe, array[Values]); // expected-error{{expression contains unexpanded par… in test_unexpanded_in_exprs()
154 …f(static_cast<Types>(i)); // expected-error{{expression contains unexpanded parameter pack 'Types'… in TestPPNameFunc()
159 …typedef tuple<typename Meta<T>::type> type; // expected-error{{declaration type contains unexpande…
164 // FIXME: this should test that the diagnostic reads "type contains..."
165 struct alignas(Types) TestUnexpandedDecls : T{ // expected-error{{expression contains unexpanded pa…
166 …void member_function(Types); // expected-error{{declaration type contains unexpanded parameter pa…
167 …void member_function () throw(Types); // expected-error{{exception type contains unexpanded parame…
168 …void member_function2() noexcept(Types()); // expected-error{{expression contains unexpanded param…
169 …operator Types() const; // expected-error{{declaration type contains unexpanded parameter pack 'Ty…
170 …Types data_member; // expected-error{{data member type contains unexpanded parameter pack 'Types'…
171 …static Types static_data_member; // expected-error{{declaration type contains unexpanded parameter…
172 …unsigned bit_field : static_cast<Types>(0); // expected-error{{bit-field size contains unexpanded…
173 …static_assert(static_cast<Types>(0), "Boom"); // expected-error{{static assertion contains unexpan…
175 …enum E0 : Types { // expected-error{{fixed underlying type contains unexpanded parameter pack 'Ty…
176 …EnumValue = static_cast<Types>(0) // expected-error{{enumerator value contains unexpanded paramete…
179 …using typename Types::type; // expected-error{{using declaration contains unexpanded parameter pac…
180 …using Types::value; // expected-error{{using declaration contains unexpanded parameter pack 'Types…
181 …using T::operator Types; // expected-error{{using declaration contains unexpanded parameter pack '…
183 …friend class Types::foo; // expected-error{{friend declaration contains unexpanded parameter pack …
184 …friend void friend_func(Types); // expected-error{{friend declaration contains unexpanded paramete…
185 …friend void Types::other_friend_func(int); // expected-error{{friend declaration contains unexpand…
188 …T copy_init = static_cast<Types>(0); // expected-error{{initializer contains unexpanded parameter … in test_initializers()
189 …T direct_init(0, static_cast<Types>(0)); // expected-error{{initializer contains unexpanded parame… in test_initializers()
190 …T list_init = { static_cast<Types>(0) }; // expected-error{{initializer contains unexpanded parame… in test_initializers()
193 …T in_class_member_init = static_cast<Types>(0); // expected-error{{initializer contains unexpanded…
195 …Types(static_cast<Types>(0)), // expected-error{{initializer contains unexpanded parameter pack 'T… in TestUnexpandedDecls()
197 …in_class_member_init(static_cast<Types>(0)) {} // expected-error{{initializer contains unexpanded … in TestUnexpandedDecls()
199 …on_args(T = static_cast<Types>(0)); // expected-error{{default argument contains unexpanded parame…
201 …template<typename = Types*> // expected-error{{default argument contains unexpanded parameter pack…
203 …template<int = static_cast<Types>(0)> // expected-error{{default argument contains unexpanded para…
205 …ame> class = Types::template apply> // expected-error{{default argument contains unexpanded parame…
208 …template<Types value> // expected-error{{non-type template parameter type contains unexpanded para…
212 Types t; // expected-error{{declaration type contains unexpanded parameter pack 'Types'}} in decls_in_stmts()
213 …for (Types *t = 0; ; ) { } // expected-error{{declaration type contains unexpanded parameter pack … in decls_in_stmts()
214 …for (; Types *t = 0; ) { } // expected-error{{declaration type contains unexpanded parameter pack … in decls_in_stmts()
216 …for (Types t : a) { } // expected-error{{declaration type contains unexpanded parameter pack 'Type… in decls_in_stmts()
217 …switch(Types *t = 0) { } // expected-error{{declaration type contains unexpanded parameter pack 'T… in decls_in_stmts()
218 …while(Types *t = 0) { } // expected-error{{declaration type contains unexpanded parameter pack 'Ty… in decls_in_stmts()
219 …if (Types *t = 0) { } // expected-error{{declaration type contains unexpanded parameter pack 'Type… in decls_in_stmts()
221 … } catch (Types*) { // expected-error{{exception type contains unexpanded parameter pack 'Types'}} in decls_in_stmts()
247 (void)(values + 0); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
248 (void)(0 + values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
251 values.f(); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
253 x.f(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
254 x.Types::f(); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
255 x.f<Types>(); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
258 …(void)static_cast<Types&>(values); // expected-error{{expression contains unexpanded parameter pac… in test_unexpanded_exprs()
261 …(void)dynamic_cast<Types&>(values); // expected-error{{expression contains unexpanded parameter pa… in test_unexpanded_exprs()
264 …(void)reinterpret_cast<Types&>(values); // expected-error{{expression contains unexpanded paramete… in test_unexpanded_exprs()
267 …(void)const_cast<Types&>(values); // expected-error{{expression contains unexpanded parameter pack… in test_unexpanded_exprs()
270 (void)typeid(Types); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
271 (void)typeid(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
274 (void)__uuidof(Types); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
275 …(void)__uuidof(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
280 throw Types(); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
281 throw values; // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
290 (void)Types(); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
293 (void)X(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
298 (void)new Types; // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
299 (void)new X(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
300 …(void)new (values) X(values); // expected-error{{expression contains unexpanded parameter pack 'va… in test_unexpanded_exprs()
301 (void)new X [values]; // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
304 delete values; // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
305 delete [] values; // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
309 values.~T(); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
310 t.~Types(); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
311 t.Types::~T(); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
314 __is_pod(Types); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
317 __is_base_of(Types, T); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
318 __is_base_of(T, Types); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
321 …test_unexpanded_exprs(values); // expected-error{{expression contains unexpanded parameter pack 'v… in test_unexpanded_exprs()
322 …test_unexpanded_exprs<Types>(); // expected-error{{expression contains unexpanded parameter pack '… in test_unexpanded_exprs()
325 …Types::test_unexpanded_exprs(); // expected-error{{expression contains unexpanded parameter pack '… in test_unexpanded_exprs()
326 …T::template test_unexpanded_exprs<Types>(); // expected-error{{expression contains unexpanded para… in test_unexpanded_exprs()
329 Types(5); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
332 values.foo(); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
333 t.foo(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
340 …t.template foo<Types>(); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
343 x.f<Types>(); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
344 x.f(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
347 noexcept(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
354 …for (auto t : values) { } // expected-error{{expression contains unexpanded parameter pack 'values… in test_unexpanded_exprs()
356 switch (values) { } // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
357 …switch (0) { case 0: case values: ; } // expected-error{{expression contains unexpanded parameter … in test_unexpanded_exprs()
359 do { } while (values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
362 goto *values; // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs()
364 …void f(int arg = values); // expected-error{{default argument contains unexpanded parameter pack '… in test_unexpanded_exprs()
369 struct TestUnexpandedDecls<int, Types>; // expected-error{{partial specialization contains unexpand…
379 …typedef pair<OuterTypes, InnerTypes>* types; // expected-error{{declaration type contains unexpand…
383 …ir<InnerTypes, OuterTypes> > types; // expected-error{{declaration type contains unexpanded parame…
395 …typedef Tuple<Pair<Args1, Args2> ... > type; // expected-error{{pack expansion contains parameter …
411 f(args); // expected-error{{expression contains unexpanded parameter pack 'args'}} in g()
420 …r{{pack expansion contains parameter packs 'N' and 'M' that have different lengths (2 vs. 3)}} exp… in C()