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()
226 template struct B<A>; variable
256 struct B { void qux(); }; struct
281 template <typename T> struct B : A<T> { struct
282 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}
289 template <typename T> struct B : A<T> { struct
290 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}
297 template <typename T> struct B : A<T> { struct
298 NameFromBase m; // expected-warning {{found via unqualified lookup into dependent bases}}
305 template <typename T> struct B { struct NameFromBase { T m; }; }; struct
314 template <typename T> struct B { static const T NameFromBase = 42; }; argument
322 template <typename T> struct B : A<T> { struct
323 A<NameFromBase> m; // expected-warning {{found via unqualified lookup into dependent bases}}
331 template <void (*F)()> struct B { }; struct
342 template <typename T> struct B : A<T> { struct
344 typename B::template NameFromBase<T> m;
356 struct B { typedef T NameFromBase; }; argument
365 template <typename U> struct B { typedef U InnerType; }; struct
379 struct B : A<T> { NameFromBase m; }; // expected-error {{unknown type name 'NameFromBase'}} argument
386 struct B : A {}; struct
395 struct B : A<T> { struct
397 static auto lateSpecifiedFunc() -> decltype(NameFromBase()) { in lateSpecifiedFunc()
401 static void memberFunc() { in memberFunc()
405 static void funcLocalClass() { in funcLocalClass()
411 void localClassMethod() { in localClassMethod()
420 static void funcLambda() { in funcLambda()
427 static constexpr int constexprFunc() { in constexprFunc()
432 static auto autoFunc() { in autoFunc()
439 template struct B<int>; variable
451 struct B : A<T> { struct
453 int x = f<NameFromBase>();