/external/clang/test/CXX/class.derived/ |
H A D | p2.cpp | 6 struct Base {}; struct in namespace:PR5840 7 int Base = 10; member in namespace:PR5840 8 struct Derived : Base {};
|
H A D | p1.cpp | 23 struct Base { }; struct in namespace:PR11216 24 struct Derived : decltype(Base()) { }; 31 struct Foo { Base foo(); }; 34 struct Derived4 : :: decltype(Base()) { }; // expected-error {{unexpected namespace scope prior to decltype}} 36 struct Derived5 : PR11216:: decltype(Base()) { }; // expected-error {{unexpected namespace scope prior to decltype}}
|
/external/clang/test/CodeGenCXX/ |
H A D | virt-canonical-decl.cpp | 3 class Base { class 5 virtual ~Base(); 8 Base::~Base() 12 class Foo : public Base {
|
H A D | apple-kext-indirect-call.C | 3 struct Base { struct 7 void Base::abc(void) const {} 9 void FUNC(Base* p) { 10 p->Base::abc(); 13 // CHECK: getelementptr inbounds (void (%struct.Base*)** bitcast ([3 x i8*]* @_ZTV4Base to void (%struct.Base*)**), i64 2)
|
H A D | pragma-pack.cpp | 3 struct Base { struct 4 virtual ~Base(); 9 struct Sub : virtual Base { 13 // CHECK: %struct.Sub = type <{ i32 (...)**, i8, %struct.Base }>
|
H A D | pragma-pack-3.cpp | 3 struct Base { struct 7 struct Derived_1 : virtual Base 14 // CHECK: %struct.Derived_2 = type { %struct.Derived_1.base, %struct.Base }
|
H A D | vtable-pointer-initialization.cpp | 8 struct Base { struct 9 Base(); 10 ~Base(); 13 struct A : Base { 36 struct B : Base {
|
H A D | debug-info-template-fwd.cpp | 9 template <class A> class Base { class 13 template <class A> struct Derived : Base<A> { 16 Base<int> *f; 18 // During the instantiation of Derived<int>, Base<int> becomes required to be 20 // above), we immediately try to build debug info for Base<int> which then 23 // (if 'f' is not present, the point at which Base<int> becomes required to be 25 // Base<int> was never emitted so we ignore it and carry on until we
|
H A D | vtable-key-function.cpp | 21 struct Base { struct 22 virtual ~Base(); 26 struct Derived : public Base<T> { }; 29 struct Derived<char> : public Base<char> {
|
/external/chromium_org/tools/clang/plugins/tests/ |
H A D | blacklisted_dirs.cpp | 5 struct Base { struct 10 struct Derived : public Base { 15 struct Derived2 : public Base { 20 struct Derived3 : public Base {
|
/external/clang/test/SemaCXX/ |
H A D | PR9884.cpp | 3 class Base { class 5 Base(int val); 9 class Derived : public Base { 16 : Base( val )
|
H A D | PR9572.cpp | 2 class Base { class 3 virtual ~Base(); // expected-note {{implicitly declared private here}} 5 struct Foo : public Base { // expected-error {{base class 'Base' has private destructor}}
|
H A D | PR7410.cpp | 5 struct Base { struct 9 struct Derived : Base {
|
/external/clang/test/PCH/ |
H A D | cxx11-inheriting-ctors.cpp | 9 struct Base { struct 10 Base(int) {} function in struct:Base 13 Base(T) {} function in struct:Base 16 struct Test : Base { 17 using Base::Base; 21 struct Test2 : Base { 22 using Base::Base; 36 Test3<Base> test3 [all...] |
H A D | cxx-offsetof-base.h | 3 struct Base { int x; }; struct 4 struct Derived : Base { int y; };
|
/external/clang/test/Profile/ |
H A D | cxx-implicit.cpp | 5 // An implicit constructor is generated for Base. We should not emit counters 9 struct Base { struct 13 struct Derived : public Base {
|
/external/clang/test/SemaTemplate/ |
H A D | instantiate-elab-type-specifier.cpp | 5 template <class T> struct Base { struct 10 template <class T> struct Derived : Base<T> { 11 typedef struct Base<T>::foo type;
|
H A D | temp.cpp | 11 namespace A { template<typename T> struct Base { typedef T t; }; } // expected-note {{member found}} struct in namespace:test1::A 12 namespace B { template<typename T> struct Base { typedef T t; }; } // expected-note {{member found}} struct in namespace:test1::B 14 template<typename T> struct Derived : A::Base<char>, B::Base<int> { 16 typename Derived::Base<float>::t x; // expected-error {{found in multiple base classes of different types}} \
|
H A D | class-template-ctor-initializer.cpp | 11 typedef A<X> Base; typedef in struct:B1 12 B1() : Base() {} 35 class Base { class in namespace:PR7259 37 Base() {} function in class:PR7259::Base 43 Derived() : Base() {} 46 class Final : public Derived<Base> { 58 struct Base { Base(int); }; // expected-note 2{{candidate}} struct in namespace:NonDependentError 61 struct Derived1 : Base { 62 Derived1() : Base( [all...] |
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
H A D | p5-var.cpp | 3 struct Base { }; struct 4 struct Derived : Base { }; // expected-note{{candidate constructor (the implicit copy constructor) not viable}} 6 struct Derived2 : Base { }; 10 operator Base&() const; 27 operator Base() const; 46 void bind_lvalue_to_lvalue(Base b, Derived d, 47 const Base bc, const Derived dc, 51 Base &br1 = b; 52 Base &br2 = d; 54 Derived &dr2 = b; // expected-error{{non-const lvalue reference to type 'Derived' cannot bind to a value of unrelated type 'Base'}} [all...] |
/external/clang/test/CXX/class.access/class.access.base/ |
H A D | p1.cpp | 10 class Base { class in namespace:test0 16 class Test : public Base { 25 Base::pub++; 26 Base::spub++; 27 Base::prot++; 28 Base::sprot++; 29 Base::priv++; // expected-error {{private member}} 30 Base::spriv++; // expected-error {{private member}} 42 t->Base::pub++; 43 t->Base 57 class Base { // expected-note 6{{member is declared here}} class in namespace:test1 107 class Base { // expected-note 6{{member is declared here}} class in namespace:test2 [all...] |
/external/libcxxabi/test/ |
H A D | catch_pointer_reference.cpp | 33 struct Base {}; struct 34 struct Derived : Base {}; 35 struct Derived2 : Base {}; 37 struct Private : private Base {}; 38 struct Protected : protected Base {}; 99 // cv1 Base * cv2 102 assert_catches< Base * , Derived *, Derived>(); 103 assert_catches<const Base * , Derived *, Derived>(); 104 assert_catches< volatile Base * , Derived *, Derived>(); 105 assert_catches<const volatile Base * , Derive [all...] |
/external/chromium_org/tools/grit/grit/ |
H A D | exception.py | 9 class Base(Exception): class in inherits:Exception 11 user-provided message as the body of the Base. 19 super(Base, self).__init__(msg) 22 class Parsing(Base): 85 class InvalidMessage(Base): 90 class InvalidTranslation(Base): 95 class NoSuchTranslation(Base): 100 class NotReady(Base): 106 class TooManyPlaceholders(Base): 111 class MismatchingPlaceholders(Base) [all...] |
/external/clang/test/CXX/conv/conv.mem/ |
H A D | p4.cpp | 3 struct Base { struct 7 int (Base::*data_ptr) = &Base::data; 8 int (Base::*method_ptr)() = &Base::method; 11 struct Derived : Base {}; 20 struct Derived : private Base {}; // expected-note 2 {{declared private here}} 22 int (Derived::*d) = data_ptr; // expected-error {{cannot cast private base class 'Base' to 'test1::Derived'}} 23 int (Derived::*m)() = method_ptr; // expected-error {{cannot cast private base class 'Base' to 'test1::Derived'}} 29 struct A : Base {}; [all...] |
/external/clang/test/CXX/temp/temp.res/temp.local/ |
H A D | p3.cpp | 3 template <class T> struct Base { // expected-note 4 {{member found by ambiguous name lookup}} struct 9 template <class T> struct Derived: Base<int>, Base<char> { 10 typename Derived::Base b; // expected-error{{member 'Base' found in multiple base classes of different types}} 11 typename Derived::Base<double> d; // OK 14 t->Derived::Base<T>::f(); 15 t->Base<T>::f(); 16 t->Base::f(); // expected-error{{member 'Base' foun [all...] |