Lines Matching refs:NameFromBase

283 template <typename T> struct A { typedef T NameFromBase; };  typedef
285 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}
291 template <typename T> struct A { struct NameFromBase {}; }; struct
293 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}
299 template <typename T> struct A { enum NameFromBase { X }; }; enum
301 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}
303 static_assert(sizeof(B<int>) == sizeof(A<int>::NameFromBase), "");
307 template <typename T> struct A { typedef T NameFromBase; }; // expected-note {{member type 'int' fo… typedef
308 template <typename T> struct B { struct NameFromBase { T m; }; }; // expected-note {{member type 't… struct
310NameFromBase m; // expected-error {{member 'NameFromBase' found in multiple base classes of differ…
316 template <typename T> struct A { typedef T NameFromBase; }; typedef
317 template <typename T> struct B { static const T NameFromBase = 42; }; member
319 NameFromBase m; // expected-error {{unknown type name 'NameFromBase'}}
324 template <typename T> struct A { struct NameFromBase {}; }; struct
326 A<NameFromBase> m; // expected-warning {{found via unqualified lookup into dependent bases}}
333 template <typename T> struct A { void NameFromBase() {} }; in NameFromBase() function
336 B<C::NameFromBase> a; // correct
337 B<NameFromBase> b; // expected-error {{use of undeclared identifier 'NameFromBase'}}
343 template <typename U> struct NameFromBase { U x; }; struct
347 typename B::template NameFromBase<T> m;
351 NameFromBase<T> m; // expected-error {{no template named '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 member 'NameFromBase' found via u…
397 struct B { typedef T NameFromBase; }; typedef
399 struct D : A<T>, B<T> { NameFromBase m; }; // expected-warning {{use of member 'NameFromBase' found…
404 struct B { typedef int NameFromBase; }; typedef
408 struct D : C<T> { NameFromBase m; }; // expected-warning {{use of member 'NameFromBase' found via u…
413 struct A { typedef T NameFromBase; }; typedef
417 struct C : B<T>, virtual A<T> { NameFromBase m; }; // expected-warning {{use of member 'NameFromBas…
423 struct A { typedef T NameFromBase; }; typedef
427 struct C : B<T>, public A<T> { NameFromBase m; }; // expected-warning {{use of member 'NameFromBase…
432 template<typename T> struct A { typedef int NameFromBase; }; typedef
437NameFromBase m; // expected-warning {{use of member 'NameFromBase' found via unqualified lookup in…
440NameFromBase m; // expected-warning {{use of member 'NameFromBase' found via unqualified lookup in…
444NameFromBase m; // expected-warning {{use of member 'NameFromBase' found via unqualified lookup in…
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>();