• Home
  • Raw
  • Download

Lines Matching full:using

7   using ::f;
16 using M::f;
34 using X0::operator();
43 class C : B { using B::f; };
45 // PR5751: Resolve overloaded functions through using decls.
53 using O::f;
63 // Make sure that ADL can find names brought in by using decls.
72 using inner::foo;
84 namespace ns2 { using A::foo; }
87 namespace ns1 { using A::foo; }
100 template <class T> using ns::foo; // expected-error {{cannot template a using declaration}}
107 template <typename T> using A::f<T>; // expected-error {{cannot template a using declaration}}
117using ::foo::Class1::Function; // expected-error{{incomplete type 'foo::Class1' named in nested na…
124 using typename N::FFG; // expected-error {{no member named 'FFG' in namespace 'using_suggestion_tyn…
129 class DDD : public CCC { public: using typename CCC::AAB; }; // expected-error {{no member named 'A…
135 using typename N::FFG; // expected-error {{no member named 'FFG' in namespace 'using_suggestion_tyn…
144 using N::M::AAA; // expected-error {{no member named 'AAA' in namespace 'using_suggestion_ty_droppe…
152 using typename N::M::AAA; // expected-error {{no member named 'AAA' in namespace 'using_suggestion_…
160 using N::M::FFF; // expected-error {{no member named 'FFF' in namespace 'using_suggestion_val_dropp…
174 using A::HiddenTag1;
175 using A::HiddenFn1; // expected-note {{using declaration}}
176 using A::HiddenLocalExtern1;
181 friend void HiddenFn1(); // expected-error {{cannot befriend target of using declaration}}
191 using A::HiddenTag2; // expected-error {{conflicts with declaration already in scope}}
192 using A::HiddenFn2; // expected-error {{conflicts with declaration already in scope}}
193 using A::HiddenLocalExtern2;
207 using S::S;
213 // [namespace.udecl]p3: In a using-declaration used as a member-declaration,
215 // If such a using-declaration names a constructor, the nested-name-specifier
222using B_blah::C_blah; // expected-error-re {{no member named 'C_blah' in 'PR19171::B_blah'{{$}}}}
227 using C_blah::B_blah;
230 using C_blah::D_blah;
244 using E::EE; // expected-error-re {{no member named 'EE' in 'PR19171::E'{{$}}}}
253using TypoDuplicate::TypoFuplicate; // expected-error {{did you mean 'TypoDuplicate'}} expected-no…
254 using TypoDuplicate::TypoDuplicate; // expected-error {{redeclaration}}
256using TypoDuplicate::goobar; // expected-error {{did you mean 'foobar'}} expected-note {{previous}}
257 using TypoDuplicate::foobar; // expected-error {{redeclaration}}
261using TypoFuplicate::TypoDuplicate; // expected-error {{did you mean 'TypoDuplicate'}} expected-no…
262 using TypoDuplicate::TypoDuplicate; // expected-error {{redeclaration}}
269 using TypoDuplicate::TypoDuplicate;
270 using TypoDuplicate::TypoFuplicate; // expected-error {{did you mean 'TypoDuplicate'}}
272 using TypoDuplicate::foobar;
273 using TypoDuplicate::goobar; // expected-error {{did you mean 'foobar'}}
277 using TypoDuplicate::TypoDuplicate; // expected-note {{previous}}
278using TypoFuplicate::TypoDuplicate; // expected-error {{did you mean 'TypoDuplicate'}} expected-er…
288using A::goobar; // expected-error {{no member named 'goobar' in 'TypoCorrectTemplateMember::A'; d…
295 using A::n;
306 using X::A; // expected-note {{using}}
307 using X::i; // expected-note {{using}}
314 extern int a; // expected-note 2{{target of using declaration}}
315 void f(); // expected-note 2{{target of using declaration}}
316 struct s; // expected-note 2{{target of using declaration}}
317 enum e {}; // expected-note 2{{target of using declaration}}
319 …template<typename> extern int vt; // expected-note 2{{target of using declaration}} expected-warni…
320 template<typename> void ft(); // expected-note 2{{target of using declaration}}
321 template<typename> struct st; // expected-note 2{{target of using declaration}}
324 using PR24033::a; // expected-note {{using declaration}}
325 using PR24033::f; // expected-note {{using declaration}}
326 using PR24033::s; // expected-note {{using declaration}}
327 using PR24033::e; // expected-note {{using declaration}}
329 using PR24033::vt; // expected-note {{using declaration}}
330 using PR24033::ft; // expected-note {{using declaration}}
331 using PR24033::st; // expected-note {{using declaration}}
333 …extern int a; // expected-error {{declaration conflicts with target of using declaration already i…
334 …void f(); // expected-error {{declaration conflicts with target of using declaration already in sc…
335 …struct s; // expected-error {{declaration conflicts with target of using declaration already in sc…
336 …enum e {}; // expected-error {{declaration conflicts with target of using declaration already in s…
338 …> extern int vt; // expected-error {{declaration conflicts with target of using declaration alread…
339 …template<typename> void ft(); // expected-error {{declaration conflicts with target of using decla…
340 …template<typename> struct st; // expected-error {{declaration conflicts with target of using decla…
353using PR24033::a; // expected-error {{target of using declaration conflicts with declaration alrea…
354using PR24033::f; // expected-error {{target of using declaration conflicts with declaration alrea…
355using PR24033::s; // expected-error {{target of using declaration conflicts with declaration alrea…
356using PR24033::e; // expected-error {{target of using declaration conflicts with declaration alrea…
358using PR24033::vt; // expected-error {{target of using declaration conflicts with declaration alre…
359using PR24033::ft; // expected-error {{target of using declaration conflicts with declaration alre…
360using PR24033::st; // expected-error {{target of using declaration conflicts with declaration alre…
369 using A::field;
386 using N::X;
387 using N::Y;
388 using N::Z;
395 using N::X;
396 using N::Y;
397 using N::Z;