Searched refs:Derived (Results 26 - 50 of 83) sorted by relevance

1234

/external/clang/test/CodeGenCXX/
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/SemaCXX/
H A Dempty-class-layout.cpp35 template<int N> struct Derived : Empty, Derived<N - 1> { struct in namespace:Test0
37 template<> struct Derived<0> : Empty { }; struct in namespace:Test0
39 struct S1 : virtual Derived<10> {
44 struct S2 : virtual Derived<10> {
H A Dconstructor-initializer.cpp85 struct Derived : Base, Base1, virtual V { struct in inherits:Base,Base1,V
86 Derived ();
89 struct Current : Derived {
90 int Derived; member in struct:Current
91 Current() : Derived(1), ::Derived(), // expected-warning {{field 'Derived' will be initialized after base '::Derived'}} \
92 // expected-warning {{base class '::Derived' will be initialized after base 'Derived
[all...]
H A Doffsetof.cpp17 struct Derived : Base { int y; }; struct in inherits:Base
18 int o = __builtin_offsetof(Derived, x); // expected-warning{{offset of on non-POD type}}
20 const int o2 = sizeof(__builtin_offsetof(Derived, x));
H A Dconditional-expr.cpp27 struct Derived : Base { struct in inherits:Base
33 struct Fin : Mid, Derived {};
34 typedef void (Derived::*DFnPtr)();
82 Derived derived;
100 const Derived constder();
104 A a3((i1 ? constret() : Derived()).trick());
105 A a4((i1 ? Derived() : constret()).trick());
109 i1 = (i1 ? Base() : Derived()).trick();
110 i1 = (i1 ? Derived() : Base()).trick();
112 (void)(i1 ? Base() : constder()); // expected-error {{incompatible operand types ('Base' and 'const Derived')}}
[all...]
H A Dwarn-overloaded-virtual.cpp50 struct Derived : public Base { struct in namespace:PR9182
H A Duser-defined-conversions.cpp46 struct Derived : Base { }; struct in inherits:Base
55 operator Derived();
H A Dvirtual-override.cpp188 class Derived : public Base {}; class in namespace:PR5920
197 virtual Derived<int>* Method();
205 class Derived : public Base {}; class in namespace:PR6110
208 typedef Derived* DerivedP;
215 Y1<Derived*, Base*> y;
H A Dusing-decl-templates.cpp76 class Derived : public Base<T> { class in namespace:PR10883
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5-0x.cpp10 struct Derived : Base { }; struct in inherits:Base
30 Base&& base1 = xvalue<Derived>();
35 Base&& base3 = prvalue<Derived>();
50 Base&& base5 = ConvertsTo<Derived&&>();
55 Base&& base7 = ConvertsTo<Derived>();
143 base_rvalue_ref(xvalue<Derived>());
147 base_rvalue_ref(prvalue<Derived>());
154 base_rvalue_ref(ConvertsTo<Derived&&>());
158 base_rvalue_ref(ConvertsTo<Derived>());
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
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/Index/
H A Dload-stmts.cpp98 struct Derived : public Base { struct in inherits:Base
99 Derived(int x);
103 Derived::Derived(int x) function in class:Derived
216 // CHECK: load-stmts.cpp:103:10: CXXConstructor=Derived:103:10 (Definition)
217 // CHECK: load-stmts.cpp:103:1: TypeRef=struct Derived:98:8 Extent=[103:1 - 103:
/external/clang/test/PCH/
H A Dcxx_exprs.cpp17 Derived *d;
/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/lib/Sema/
H A DTreeTransform.h93 template<typename Derived>
99 Derived &Self;
103 ForgetPartiallySubstitutedPackRAII(Derived &Self) : Self(Self) {
120 Derived &getDerived() { return static_cast<Derived&>(*this); }
123 const Derived &getDerived() const {
124 return static_cast<const Derived&>(*this);
2420 template<typename Derived>
2421 StmtResult TreeTransform<Derived>::TransformStmt(Stmt *S) {
2453 template<typename Derived>
[all...]
/external/llvm/include/llvm/Support/
H A Dtype_traits.h102 template<typename Base, typename Derived>
105 = is_class<Base>::value && is_class<Derived>::value &&
106 sizeof(char) == sizeof(dont_use::base_of_helper<Base>((Derived*)0));
/external/clang/test/SemaTemplate/
H A Dqualified-id.cpp15 template <class T> class Derived : public Base<T> { class in namespace:test1
H A Dinstantiate-cast.cpp10 class Derived : public Base { }; class in inherits:Base
57 template struct DynamicCast0<Base*, Derived*>;
H A Dvirtual-member-functions.cpp38 struct Derived : Base<T> { struct in inherits:Base
42 template struct Derived<int>; // expected-note {{in instantiation of member function 'Base<int>::~Base' requested here}}
/external/clang/include/clang/AST/
H A DRecursiveASTVisitor.h137 template<typename Derived>
141 Derived &getDerived() { return *static_cast<Derived*>(this); }
395 template<typename Derived>
396 bool RecursiveASTVisitor<Derived>::TraverseStmt(Stmt *S) {
443 template<typename Derived>
444 bool RecursiveASTVisitor<Derived>::TraverseType(QualType T) {
459 template<typename Derived>
460 bool RecursiveASTVisitor<Derived>::TraverseTypeLoc(TypeLoc TL) {
476 template<typename Derived>
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCInstMethSignature.cpp30 static bool AreTypesCompatible(QualType Derived, QualType Ancestor, argument
35 if (Derived->isAnyPointerType() && Ancestor->isAnyPointerType())
38 return C.typesAreCompatible(Derived, Ancestor);
/external/clang/test/CXX/basic/basic.types/
H A Dp10.cpp69 struct Derived : HasVBase { struct in inherits:HasVBase
70 constexpr Derived(); // expected-error {{constexpr constructor not allowed in struct with virtual base class}}
/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);
/external/clang/test/CXX/except/except.spec/
H A Dp5-virtual.cpp61 struct Derived : Base struct in inherits:Base

Completed in 429 milliseconds

1234