Searched refs:Base (Results 1 - 25 of 519) 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 Dapple-kext-indirect-call.C3 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 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 Dvtable-pointer-initialization.cpp8 struct Base { struct
9 Base();
10 ~Base();
13 struct A : Base {
36 struct B : Base {
H A Dvtable-key-function.cpp21 struct Base { struct
22 virtual ~Base();
26 struct Derived : public Base<T> { };
29 struct Derived<char> : public Base<char> {
H A Dderived-to-base-conv.cpp44 struct Base;
47 operator Base&();
52 struct Base : Root { struct in inherits:Root
53 Base(const Base &);
54 Base();
58 struct Derived : Base {
61 void test1_helper(Base);
H A Dmicrosoft-abi-methods.cpp62 class Base { class
64 Base() {} function in class:Base
65 ~Base() {}
68 class Child: public Base { };
72 // Make sure that the Base constructor call in the Child constructor uses
75 // CHECK: %{{[.0-9A-Z_a-z]+}} = call x86_thiscallcc %class.Base* @"\01??0Base@@QAE@XZ"
78 // Make sure that the Base destructor call in the Child denstructor uses
81 // CHECK: call x86_thiscallcc void @"\01??1Base@@QAE@XZ"
84 // Make sure that the Base destructo
[all...]
/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 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/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/PCH/
H A Dcxx-offsetof-base.h3 struct Base { int x; }; struct
4 struct Derived : Base { int y; };
/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/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/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...]
/external/clang/test/Index/Inputs/
H A Dobjc.h1 @interface Base {
9 @interface Sub : Base
/external/clang/test/Index/
H A Dannotate-context-sensitive.cpp1 class Base { class
6 class Derived final : public Base {
27 // CHECK-OVERRIDE-FINAL: Keyword: "public" [6:23 - 6:29] C++ base class specifier=class Base:1:7 [access=public isVirtual=false]
28 // CHECK-OVERRIDE-FINAL: Identifier: "Base" [6:30 - 6:34] TypeRef=class Base:1:7
H A Dcomment-cplus-template-decls.cpp46 struct Base { struct
52 template<typename T> struct E : Base {
56 using Base::foo;
58 // CHECK: <Declaration>template &lt;typename T&gt; struct E : Base {}</Declaration>
59 // CHECK: <Declaration>using Base::foo</Declaration>
/external/clang/test/Parser/
H A Dcxx0x-override-control-keywords.cpp4 struct Base { struct
8 struct S : Base {
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
H A Dp3-cxx0x.cpp23 struct Base { struct in namespace:test1
31 struct Subclass : Base {
39 template <class T> struct C : Base {
41 using Base::bar; // expected-error {{no member named 'bar'}}

Completed in 739 milliseconds

1234567891011>>