Searched defs:Derived (Results 1 - 25 of 61) sorted by relevance

123

/external/clang/test/CXX/class.derived/
H A Dp2.cpp7 struct Derived : Base {}; struct in namespace:PR5840
/external/clang/test/SemaCXX/
H A DPR9884.cpp8 class Derived : public Base { class in inherits:Base
10 Derived(int val);
14 Derived::Derived(int val) function in class:Derived
H A DPR7410.cpp9 struct Derived : Base { struct in inherits:Base
13 Derived d;
H A Ddirect-initializer.cpp42 struct Derived : Base { struct in inherits:Base
46 void foo(const Derived cd, Derived d) {
47 int *pi = cd; // expected-error {{no viable conversion from 'const Derived' to 'int *'}}
H A Dusing-decl-templates.cpp76 class Derived : public Base<T> { class in namespace:PR10883
H A Dwarn-overloaded-virtual.cpp50 struct Derived : public Base { struct in namespace:PR9182
/external/clang/test/SemaTemplate/
H A Dinstantiate-elab-type-specifier.cpp9 template <class T> struct Derived : Base<T> { struct in inherits:Base
13 template struct Derived<int>;
H A Dtemp.cpp14 template<typename T> struct Derived : A::Base<char>, B::Base<int> { struct in namespace:test1
16 typename Derived::Base<float>::t x; // expected-error {{found in multiple base classes of different types}} \
H A Dclass-template-ctor-initializer.cpp41 class Derived : public ParentClass { class in namespace:PR7259
43 Derived() : Base() {} function in class:PR7259::Derived
46 class Final : public Derived<Base> {
H A Dqualified-id.cpp15 template <class T> class Derived : public Base<T> { class in namespace:test1
/external/clang/test/PCH/
H A Dcxx-offsetof-base.h4 struct Derived : Base { int y; }; struct in inherits:Base
5 int o = __builtin_offsetof(Derived, x);
/external/clang/test/CodeGenCXX/
H A Dvtable-key-function.cpp26 struct Derived : public Base<T> { }; struct in inherits:Base
29 struct Derived<char> : public Base<char> { struct in inherits:Base
33 void Derived<char>::anchor() { }
H A Dapple-kext-linkage.C7 struct Derived : Base { struct in inherits:Base
9 Derived();
13 Derived d1; // ok
H A Dcopy-constructor-elim-2.cpp20 struct Derived : public virtual Base { struct in namespace:no_elide_base
21 Derived(const Other &O);
24 // CHECK: define {{.*}} @_ZN13no_elide_base7DerivedC1ERKNS_5OtherE(%"struct.no_elide_base::Derived"* %this, %"struct.no_elide_base::Other"* %O) unnamed_addr
25 Derived::Derived(const Other &O) function in class:no_elide_base::Derived
H A Dderived-to-base-conv.cpp60 struct Derived;
65 operator Derived&() { exit(1); }
68 struct Derived : Base { struct in inherits:Base
73 void test(Derived bb)
H A Dapple-kext-indirect-call-2.C32 struct Derived : public Base { struct in inherits:Base
35 void FUNC1(Derived* p) {
/external/clang/test/CXX/except/except.spec/
H A Dp5-virtual.cpp61 struct Derived : Base struct in inherits:Base
/external/clang/test/CXX/class/class.friend/
H A Dp1.cpp16 struct Derived : public Base { struct in inherits:Base
49 friend void Derived::missing_member(); // expected-error {{ no function named 'missing_member' with type 'void ()' was found in the specified scope }}
51 friend void Derived::base_member(); // expected-error {{ no function named 'base_member' with type 'void ()' was found in the specified scope }}
/external/clang/test/CXX/class.derived/class.member.lookup/
H A Dp8.cpp15 struct Derived : public D1, public D2 { struct in namespace:PR5820
20 Derived d;
25 void Derived::Inner() {
/external/clang/test/CXX/conv/conv.mem/
H A Dp4.cpp11 struct Derived : Base {}; struct in namespace:test0
13 int (Derived::*d) = data_ptr;
14 int (Derived::*m)() = method_ptr;
20 struct Derived : private Base {}; // expected-note 2 {{declared private here}} struct in namespace:test1
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'}}
31 struct Derived : A, B {}; struct in namespace:test2
33 int (Derived
40 struct Derived : virtual Base {}; struct in namespace:test3
50 struct Derived : Base, virtual A {}; struct in namespace:test4
60 struct Derived : Base, virtual A {}; struct in namespace:test5
[all...]
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
H A Dp13.cpp23 struct Derived : Base { struct in namespace:test0
38 Opaque0 a = Derived().test0((int*) 0);
39 Opaque1 b = Derived().test0((const int*) 0);
43 Opaque1 a = Derived().test1((int*) 0);
44 Opaque0 b = Derived().test1((const int*) 0);
48 Opaque0 a = ((Derived*) 0)->test2((int*) 0);
49 Opaque1 b = ((const Derived*) 0)->test2((int*) 0);
53 Opaque1 a = ((Derived*) 0)->test3((int*) 0);
54 Opaque0 b = ((const Derived*) 0)->test3((int*) 0);
H A Dp8.cpp75 template <class T> struct Derived : Base<T> { struct in namespace:test2
82 template struct Derived<int>; // expected-note {{in instantiation of template class}}
/external/clang/test/CXX/temp/temp.res/temp.local/
H A Dp3.cpp9 template <class T> struct Derived: Base<int>, Base<char> { struct in inherits:Base,Base
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();
/external/clang/test/CodeCompletion/
H A Dmember-access.cpp18 struct Derived : Base3 { struct in inherits:Base3
25 Derived *operator->() const;
/external/chromium/base/memory/
H A Dweak_ptr_unittest.cc36 struct Derived : Base {}; struct in namespace:base::__anon833
84 Derived data;
85 WeakPtrFactory<Derived> factory(&data);

Completed in 1433 milliseconds

123