Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:Base

39   virtual b* f(); // expected-error{{invalid covariant return for virtual function: 'T3::a' is a private base class of 'T3::b'}}
55 virtual b* f(); // expected-error{{return type of virtual function 'f' is not covariant with the return type of the function it overrides (ambiguous conversion from derived class 'T4::b' to base class 'T4::a':\n\
144 template <typename Base>
145 struct Foo : Base {
157 template<typename Base>
158 struct Foo2 : Base {
185 class Base {};
188 class Derived : public Base {};
192 virtual Base* Method();
204 class Base {};
205 class Derived : public Base {};
207 typedef Base* BaseP;
215 Y1<Derived*, Base*> y;