/external/clang/test/CXX/class.derived/ |
p2.cpp | 4 // "During the lookup for a base class name, non-type names are ignored" 6 struct Base {}; 7 int Base = 10; 8 struct Derived : Base {};
|
/art/test/066-mismatched-super/src/ |
Base.java | 17 public class Base extends Defs {
|
Indirect.java | 25 Base base = new Base(); local
|
/external/clang/test/CodeGenCXX/ |
virt-canonical-decl.cpp | 3 class Base { 5 virtual ~Base(); 8 Base::~Base() 12 class Foo : public Base {
|
apple-kext-indirect-call.C | 3 struct Base { 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)
|
pragma-pack.cpp | 3 struct Base { 4 virtual ~Base(); 9 struct Sub : virtual Base { 13 // CHECK: %struct.Sub = type <{ i32 (...)**, i8, %struct.Base }>
|
pragma-pack-3.cpp | 3 struct Base { 7 struct Derived_1 : virtual Base 14 // CHECK: %struct.Derived_2 = type { %struct.Derived_1.base, %struct.Base } 15 // CHECK: %struct.Derived_1.base = type <{ i32 (...)**, i8 }>
|
vtable-pointer-initialization.cpp | 8 struct Base { 9 Base(); 10 ~Base(); 13 struct A : Base { 36 struct B : Base {
|
debug-info-template-fwd.cpp | 9 template <class A> class Base { 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 26 // wire up the base class of Derived<int> in the debug info later on)
|
/art/test/065-mismatched-implements/src/ |
Indirect.java | 25 Base base = new Base(); local
|
/external/chromium_org/tools/clang/plugins/tests/ |
blacklisted_dirs.cpp | 5 struct Base { 10 struct Derived : public Base { 15 struct Derived2 : public Base { 20 struct Derived3 : public Base {
|
/external/clang/test/SemaCXX/ |
PR9884.cpp | 3 class Base { 5 Base(int val); 9 class Derived : public Base { 16 : Base( val )
|
PR9572.cpp | 2 class Base { 3 virtual ~Base(); // expected-note {{implicitly declared private here}} 5 struct Foo : public Base { // expected-error {{base class 'Base' has private destructor}}
|
/external/clang/test/PCH/ |
cxx11-inheriting-ctors.cpp | 9 struct Base { 10 Base(int) {} 13 Base(T) {} 16 struct Test : Base { 17 using Base::Base; 21 struct Test2 : Base { 22 using Base::Base; 36 Test3<Base> test3a(42) [all...] |
cxx-offsetof-base.h | 1 // Header for PCH test cxx-offsetof-base.cpp 3 struct Base { int x; }; 4 struct Derived : Base { int y; };
|
/external/clang/test/Profile/ |
cxx-implicit.cpp | 5 // An implicit constructor is generated for Base. We should not emit counters 9 struct Base { 13 struct Derived : public Base {
|
/external/clang/test/SemaTemplate/ |
instantiate-elab-type-specifier.cpp | 5 template <class T> struct Base { 10 template <class T> struct Derived : Base<T> { 11 typedef struct Base<T>::foo type;
|
/art/test/078-polymorphic-virtual/src/ |
Derived1.java | 17 public class Derived1 extends Base {
|
Derived2.java | 17 public class Derived2 extends Base {
|
Derived3.java | 17 public class Derived3 extends Base {
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
p5-var.cpp | 3 struct Base { }; 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/ |
p1.cpp | 3 // C++0x [class.access.base]p1(a): 4 // If a class is declared to be a base class for another class using 5 // the public access specifier, the public members of the base class 7 // members of the base class are accessible as protected members of 10 class Base { 16 class Test : public Base { 25 Base::pub++; 26 Base::spub++; 27 Base::prot++; 28 Base::sprot++ [all...] |
/external/libcxxabi/test/ |
catch_pointer_reference.cpp | 16 // * the handler is of type cv T or cv T& and T is an unambiguous base 33 struct Base {}; 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>() [all...] |
/external/clang/test/CXX/conv/conv.mem/ |
p4.cpp | 3 struct Base { 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'} [all...] |
/external/chromium_org/tools/clang/blink_gc_plugin/tests/ |
class_multiple_trace_bases.h | 12 class Base : public GarbageCollected<Base> { 22 class Derived : public Base, public Mixin {
|