Searched refs:Base (Results 1 - 25 of 724) sorted by relevance

1234567891011>>

/external/clang/test/CXX/class.derived/
H A Dp2.cpp6 struct Base {}; struct in namespace:PR5840
7 int Base = 10; member in namespace:PR5840
8 struct Derived : Base {};
H A Dp1.cpp23 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 Dvirt-canonical-decl.cpp3 class Base { class
5 virtual ~Base();
8 Base::~Base()
12 class Foo : public Base {
H A Dlinetable-virtual-variadic.cpp3 class Base { class
7 class Derived : public virtual Base {
H A Dpr20897.cpp2 struct Base {}; struct
5 struct __declspec(dllexport) Derived : virtual Base {
20 struct __declspec(dllexport) Derived2 : virtual Base {
H A Dpragma-pack.cpp3 struct Base { struct
4 virtual ~Base();
9 struct Sub : virtual Base {
13 // CHECK: %struct.Sub = type <{ i32 (...)**, i8, %struct.Base }>
H A Dpragma-pack-3.cpp3 struct Base { struct
7 struct Derived_1 : virtual Base
14 // CHECK: %struct.Derived_2 = type { %struct.Derived_1.base, %struct.Base }
H A Dvtable-pointer-initialization.cpp8 struct Base { struct
9 Base();
10 ~Base();
13 struct A : Base {
36 struct B : Base {
H A Ddebug-info-template-fwd.cpp11 template <class A> class Base { class
15 template <class A> struct Derived : Base<A> {
18 Base<int> *f;
20 // During the instantiation of Derived<int>, Base<int> becomes required to be
22 // above), we immediately try to build debug info for Base<int> which then
25 // (if 'f' is not present, the point at which Base<int> becomes required to be
27 // Base<int> was never emitted so we ignore it and carry on until we
/external/clang/test/SemaCXX/
H A DPR9884.cpp3 class Base { class
5 Base(int val);
9 class Derived : public Base {
16 : Base( val )
H A Dthread-safety-reference-handling.cpp4 class Base { class
6 Base() {} function in class:Base
7 virtual ~Base();
10 class S : public Base {
H A DPR9572.cpp2 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 DPR7410.cpp5 struct Base { struct
9 struct Derived : Base {
/external/clang/test/PCH/
H A Dcxx11-inheriting-ctors.cpp9 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 Dcxx-offsetof-base.h3 struct Base { int x; }; struct
4 struct Derived : Base { int y; };
/external/clang/test/Profile/
H A Dcxx-implicit.cpp5 // 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 Dinstantiate-elab-type-specifier.cpp5 template <class T> struct Base { struct
10 template <class T> struct Derived : Base<T> {
11 typedef struct Base<T>::foo type;
H A Dtemp.cpp11 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 Dclass-template-ctor-initializer.cpp11 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 Dp5-var.cpp3 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 Dp1.cpp10 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 Dcatch_pointer_reference.pass.cpp33 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/clang/test/CXX/conv/conv.mem/
H A Dp4.cpp3 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/google-breakpad/src/client/windows/tests/crash_generation_app/
H A Dabstract_class.cc34 Base::Base(Derived* derived) function in class:google_breakpad::Base
38 Base::~Base() {
46 : Base(this) { // C4355
/external/clang/test/CXX/temp/temp.res/temp.local/
H A Dp3.cpp3 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...]

Completed in 438 milliseconds

1234567891011>>