Lines Matching defs:B

12 class B : public A<T> {  class
21 template class B<int>; // expected-note {{requested here}} variable
22 template class B<char>; variable
64 class B : public A<T> { class
71 template class B<int>; variable
88 class B : public A<T> { class
95 template class B<int>; // expected-note {{requested here}} variable
111 class B : public A<T> { class
130 class B { class
174 class B {}; class
206 template <typename T> struct B : T { struct
207 int foo() { return a; } // expected-warning {{lookup into dependent bases}} in foo()
208 int *bar() { return &a; } // expected-warning {{lookup into dependent bases}} in bar()
209 int baz() { return T::a; } in baz()
210 int T::*qux() { return &T::a; } in qux()
211 static int T::*stuff() { return &T::a; } in stuff()
212 static int stuff1() { return T::sa; } in stuff1()
213 static int *stuff2() { return &T::sa; } in stuff2()
214 static int stuff3() { return sa; } // expected-warning {{lookup into dependent bases}} in stuff3()
215 static int *stuff4() { return &sa; } // expected-warning {{lookup into dependent bases}} in stuff4()
227 template struct B<A>; variable
258 struct B { void qux(); }; struct
283 template <typename T> struct B : A<T> { struct
284 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}
291 template <typename T> struct B : A<T> { struct
292 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}
299 template <typename T> struct B : A<T> { struct
300 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}
307 template <typename T> struct B { struct NameFromBase { T m; }; }; // expected-note {{member found b… struct
316 template <typename T> struct B { static const T NameFromBase = 42; }; argument
324 template <typename T> struct B : A<T> { struct
325 A<NameFromBase> m; // expected-warning {{found via unqualified lookup into dependent bases}}
333 template <void (*F)()> struct B { }; struct
344 template <typename T> struct B : A<T> { struct
346 typename B::template NameFromBase<T> m;
358 struct B { typedef T NameFromBase; }; argument
367 template <typename U> struct B { typedef U InnerType; }; argument
381 struct B : A<T> { NameFromBase m; }; // expected-error {{unknown type name 'NameFromBase'}} argument
388 struct B : A {}; struct
397 struct B { typedef T NameFromBase; }; struct
404 struct B { typedef int NameFromBase; }; struct
415 struct B : virtual A<T> {}; struct
425 struct B : public A<T> {}; struct
433 template<typename T> struct B : A<T> { struct
436 struct D : C {
439 struct E : C {
454 struct B : A<T> { struct
456 static auto lateSpecifiedFunc() -> decltype(NameFromBase()) { in lateSpecifiedFunc()
460 static void memberFunc() { in memberFunc()
464 static void funcLocalClass() { in funcLocalClass()
470 void localClassMethod() { in localClassMethod()
479 static void funcLambda() { in funcLambda()
486 static constexpr int constexprFunc() { in constexprFunc()
491 static auto autoFunc() { in autoFunc()
498 template struct B<int>; variable
510 struct B : A<T> { struct
512 int x = f<NameFromBase>();
533 struct B : A<int> struct
535 XXX x; // expected-error {{unknown type name}}