• Home
  • Raw
  • Download

Lines Matching refs:NameFromBase

282 template <typename T> struct A { typedef T NameFromBase; };  typedef
284 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}
290 template <typename T> struct A { struct NameFromBase {}; }; struct
292 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}
298 template <typename T> struct A { enum NameFromBase { X }; }; enum
300 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}
302 static_assert(sizeof(B<int>) == sizeof(A<int>::NameFromBase), "");
306 template <typename T> struct A { typedef T NameFromBase; }; // expected-note {{member found by ambi… typedef
307 template <typename T> struct B { struct NameFromBase { T m; }; }; // expected-note {{member found b… argument
309NameFromBase m; // expected-error {{member 'NameFromBase' found in multiple base classes of differ…
315 template <typename T> struct A { typedef T NameFromBase; }; typedef
316 template <typename T> struct B { static const T NameFromBase = 42; }; member
318 NameFromBase m; // expected-error {{unknown type name 'NameFromBase'}}
323 template <typename T> struct A { struct NameFromBase {}; }; struct
325 A<NameFromBase> m; // expected-warning {{found via unqualified lookup into dependent bases}}
332 template <typename T> struct A { void NameFromBase() {} }; in NameFromBase() function
335 B<C::NameFromBase> a; // correct
336 B<NameFromBase> b; // expected-error {{use of undeclared identifier 'NameFromBase'}}
342 template <typename U> struct NameFromBase { U x; }; argument
346 typename B::template NameFromBase<T> m;
350 NameFromBase<T> m; // expected-error {{unknown type name 'NameFromBase'}}
358 struct B { typedef T NameFromBase; }; typedef
361 struct C : A<T>::B { NameFromBase m; }; // expected-error {{unknown type name 'NameFromBase'}}
371 NameFromBase m; // expected-error {{unknown type name 'NameFromBase'}}
381 struct B : A<T> { NameFromBase m; }; // expected-error {{unknown type name 'NameFromBase'}}
382 struct C : A<int> { NameFromBase m; }; // expected-error {{unknown type name 'NameFromBase'}}
386 struct A { typedef int NameFromBase; }; typedef
390 struct C : B<T> { NameFromBase m; }; // expected-warning {{use of identifier 'NameFromBase' found v…
397 struct B { typedef T NameFromBase; }; typedef
399 struct D : A<T>, B<T> { NameFromBase m; }; // expected-warning {{use of identifier 'NameFromBase' f…
404 struct B { typedef int NameFromBase; }; typedef
408 struct D : C<T> { NameFromBase m; }; // expected-warning {{use of identifier 'NameFromBase' found v…
413 struct A { typedef T NameFromBase; }; typedef
417 struct C : B<T>, virtual A<T> { NameFromBase m; }; // expected-warning {{use of identifier 'NameFro…
423 struct A { typedef T NameFromBase; }; typedef
427 struct C : B<T>, public A<T> { NameFromBase m; }; // expected-warning {{use of identifier 'NameFrom…
432 template<typename T> struct A { typedef int NameFromBase; }; typedef
437NameFromBase m; // expected-warning {{use of identifier 'NameFromBase' found via unqualified looku…
440NameFromBase m; // expected-warning {{use of identifier 'NameFromBase' found via unqualified looku…
444NameFromBase m; // expected-warning {{use of identifier 'NameFromBase' found via unqualified looku…
447 NameFromBase m; // expected-error {{unknown type name 'NameFromBase'}}
452 template <typename T> struct A { typedef T NameFromBase; }; typedef
456 static auto lateSpecifiedFunc() -> decltype(NameFromBase()) { in lateSpecifiedFunc()
461 NameFromBase x; // expected-warning {{lookup into dependent bases}} in memberFunc()
466 NameFromBase x; // expected-warning {{lookup into dependent bases}} in funcLocalClass()
473 NameFromBase m; // expected-warning {{lookup into dependent bases}} in localClassMethod()
481 NameFromBase x; // expected-warning {{lookup into dependent bases}} in funcLambda()
487 NameFromBase x = {}; // expected-warning {{lookup into dependent bases}} in constexprFunc()
492 NameFromBase x; // expected-warning {{lookup into dependent bases}} in autoFunc()
508 struct A { typedef T NameFromBase; }; typedef
512 int x = f<NameFromBase>();
516 template <typename T> struct C { enum { NameFromBase = 4 }; }; enumerator
519 int x = f<NameFromBase>();