/external/clang/test/CodeGenCXX/ |
H A D | derived-to-base-conv.cpp | 60 struct Derived; 65 operator Derived&() { exit(1); } 68 struct Derived : Base { struct in inherits:Base 73 void test(Derived bb)
|
H A D | apple-kext-indirect-call-2.C | 32 struct Derived : public Base { struct in inherits:Base 35 void FUNC1(Derived* p) {
|
/external/clang/test/SemaCXX/ |
H A D | empty-class-layout.cpp | 35 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 D | constructor-initializer.cpp | 85 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 D | offsetof.cpp | 17 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 D | conditional-expr.cpp | 27 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 D | warn-overloaded-virtual.cpp | 50 struct Derived : public Base { struct in namespace:PR9182
|
H A D | user-defined-conversions.cpp | 46 struct Derived : Base { }; struct in inherits:Base 55 operator Derived();
|
H A D | virtual-override.cpp | 188 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 D | using-decl-templates.cpp | 76 class Derived : public Base<T> { class in namespace:PR10883
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
H A D | p5-0x.cpp | 10 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 D | p8.cpp | 75 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 D | load-stmts.cpp | 98 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 D | cxx_exprs.cpp | 17 Derived *d;
|
/external/clang/test/CXX/class.derived/class.member.lookup/ |
H A D | p8.cpp | 15 struct Derived : public D1, public D2 { struct in namespace:PR5820 20 Derived d; 25 void Derived::Inner() {
|
/external/clang/lib/Sema/ |
H A D | TreeTransform.h | 93 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 D | type_traits.h | 102 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 D | qualified-id.cpp | 15 template <class T> class Derived : public Base<T> { class in namespace:test1
|
H A D | instantiate-cast.cpp | 10 class Derived : public Base { }; class in inherits:Base 57 template struct DynamicCast0<Base*, Derived*>;
|
H A D | virtual-member-functions.cpp | 38 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 D | RecursiveASTVisitor.h | 137 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 D | CheckObjCInstMethSignature.cpp | 30 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 D | p10.cpp | 69 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 D | weak_ptr_unittest.cc | 36 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 D | p5-virtual.cpp | 61 struct Derived : Base struct in inherits:Base
|