| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/ |
| mb-ctor.cc | 24 class Derived : public virtual Base 27 Derived(int i); 28 ~Derived(); 34 Derived::Derived(int i) : Base(i) 46 Derived::~Derived() 48 printf("~Derived\n"); 51 class DeeplyDerived : public Derived 54 DeeplyDerived(int i) : Base(i), Derived(i) { [all...] |
| destrprint.cc | 17 class Derived : public Base 22 Derived() : Base(), z(23) 26 ~Derived() 33 Derived d;
|
| typeid.cc | 38 struct Derived : public VB1, VB2 42 Derived d;
|
| typeid.exp | 50 # typeid for these is Derived. Don't try these tests until the 53 foreach der_var {*b *vb1 *vb2 *bv d {const Derived} {const Derived &}} {
|
| rvalue-ref-casts.cc | 44 struct Derived : public Alpha 68 Derived derived; local 71 Alpha *ad = &derived;
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.cp/ |
| mb-ctor.cc | 24 class Derived : public virtual Base 27 Derived(int i); 28 ~Derived(); 34 Derived::Derived(int i) : Base(i) 46 Derived::~Derived() 48 printf("~Derived\n"); 51 class DeeplyDerived : public Derived 54 DeeplyDerived(int i) : Base(i), Derived(i) { [all...] |
| destrprint.cc | 17 class Derived : public Base 22 Derived() : Base(), z(23) 26 ~Derived() 33 Derived d;
|
| typeid.cc | 38 struct Derived : public VB1, VB2 42 Derived d;
|
| typeid.exp | 50 # typeid for these is Derived. Don't try these tests until the 53 foreach der_var {*b *vb1 *vb2 *bv d {const Derived} {const Derived &}} {
|
| rvalue-ref-casts.cc | 44 struct Derived : public Alpha 68 Derived derived; local 71 Alpha *ad = &derived;
|
| /src/external/gpl3/gcc/dist/gcc/ |
| vector-builder.h | 51 The derived class Derived provides the functionality of this class 52 for specific Ts. Derived needs to provide the following interface: 111 template<typename T, typename Shape, typename Derived> 125 bool operator == (const Derived &) const; 126 bool operator != (const Derived &x) const { return !operator == (x); } 145 Derived *derived () { return static_cast<Derived *> (this); } function in class:vector_builder 146 const Derived *derived () const 155 vector_builder<T, Shape, Derived>::derived () const function in class:vector_builder [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/ |
| vector-builder.h | 51 The derived class Derived provides the functionality of this class 52 for specific Ts. Derived needs to provide the following interface: 111 template<typename T, typename Shape, typename Derived> 125 bool operator == (const Derived &) const; 126 bool operator != (const Derived &x) const { return !operator == (x); } 145 Derived *derived () { return static_cast<Derived *> (this); } function in class:vector_builder 146 const Derived *derived () const 155 vector_builder<T, Shape, Derived>::derived () const function in class:vector_builder [all...] |
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.mi/ |
| mi-var-rtti.cc | 22 struct Derived : public Base { 23 Derived() : B(2), C(3) {} 32 Derived d; 47 check_new_derived_with_rtti ptr {Derived \*} $testname 48 check_new_derived_with_rtti constPtr {const Derived \*} $testname 49 check_new_derived_with_rtti ptrConst {Derived \* const} $testname 50 check_new_derived_with_rtti constPtrConst {const Derived \* const} \ 61 Derived d; 71 check_new_derived_with_rtti ref {Derived \&} $testname 72 check_new_derived_with_rtti constRef {const Derived \&} $testnam [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.mi/ |
| mi-var-rtti.cc | 22 struct Derived : public Base { 23 Derived() : B(2), C(3) {} 32 Derived d; 47 check_new_derived_with_rtti ptr {Derived \*} $testname 48 check_new_derived_with_rtti constPtr {const Derived \*} $testname 49 check_new_derived_with_rtti ptrConst {Derived \* const} $testname 50 check_new_derived_with_rtti constPtrConst {const Derived \* const} \ 61 Derived d; 71 check_new_derived_with_rtti ref {Derived \&} $testname 72 check_new_derived_with_rtti constRef {const Derived \&} $testnam [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| IndirectThunks.h | 24 template <typename Derived> class ThunkInserter { 25 Derived &getDerived() { return *static_cast<Derived *>(this); } 42 template <typename Derived> 43 void ThunkInserter<Derived>::createThunkFunction(MachineModuleInfo &MMI, 85 template <typename Derived> 86 bool ThunkInserter<Derived>::run(MachineModuleInfo &MMI, MachineFunction &MF) {
|
| /src/sys/external/bsd/compiler_rt/dist/lib/ubsan/ |
| ubsan_type_hash_itanium.cc | 115 /// \brief Determine whether \p Derived has a \p Base base class subobject at 117 static bool isDerivedFromAtOffset(const abi::__class_type_info *Derived, 120 if (Derived->__type_name == Base->__type_name || 122 !internal_strcmp(Derived->__type_name, Base->__type_name))) 126 dynamic_cast<const abi::__si_class_type_info*>(Derived)) 130 dynamic_cast<const abi::__vmi_class_type_info*>(Derived); 135 // Look for a base class which is derived from \p Base at the right offset. 155 /// \brief Find the derived-most dynamic base class of \p Derived at offset 158 const abi::__class_type_info *Derived, sptr Offset) [all...] |
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.guile/ |
| scm-value.c | 48 struct Derived : public Base { 51 Base *base = new Derived (); 52 Derived derived; variable 53 Base &base_ref = derived;
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.guile/ |
| scm-value.c | 48 struct Derived : public Base { 51 Base *base = new Derived (); 52 Derived derived; variable 53 Base &base_ref = derived;
|
| /src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| ClangSyntaxEmitter.cpp | 47 for (llvm::Record *Derived : Records.getAllDerivedDefinitions("NodeType")) 48 if (llvm::Record *Base = Derived->getValueAsOptionalDef("base")) 49 link(Derived, Base); 51 llvm::sort(N.Derived, [](const NodeType *L, const NodeType *R) { 56 N.Record->isSubClassOf("External") || N.Derived.empty()); 57 assert(!N.Record->isSubClassOf("Alternatives") || !N.Derived.empty()); 64 std::vector<const NodeType *> Derived; 74 // Traverse the hierarchy in pre-order (base classes before derived). 80 for (const NodeType *D : Start->Derived) 93 void link(const llvm::Record *Derived, const llvm::Record *Base) [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| RecursiveASTVisitor.h | 54 // invokes CALL_EXPR, which must be a method call, on the derived 156 /// overriding shouldVisitTemplateInstantiations() in the derived class 164 template <typename Derived> class RecursiveASTVisitor { 169 /// typically not be explicitly specified by derived classes. 174 /// Return a reference to the derived class. 175 Derived &getDerived() { return *static_cast<Derived *>(this); } 344 // Traverse the given statement. If the most-derived traverse function takes a 346 // first branch of this conditional must compile whether or not the derived 348 // arm call our function rather than the derived class version [all...] |
| NonTrivialTypeVisitor.h | 21 template <class Derived, class RetTy = void> struct DestructedTypeVisitor { 46 Derived &asDerived() { return static_cast<Derived &>(*this); } 49 template <class Derived, class RetTy = void> 74 Derived &asDerived() { return static_cast<Derived &>(*this); } 77 template <class Derived, bool IsMove, class RetTy = void> 107 Derived &asDerived() { return static_cast<Derived &>(*this); }
|
| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| TreeTransform.h | 100 template<typename Derived> 106 Derived &Self; 110 ForgetPartiallySubstitutedPackRAII(Derived &Self) : Self(Self) { 131 /// Retrieves a reference to the derived class. 132 Derived &getDerived() { return static_cast<Derived&>(*this); } 134 /// Retrieves a reference to the derived class. 135 const Derived &getDerived() const { 136 return static_cast<const Derived&>(*this); 305 /// Note to the derived class when a function parameter pack i [all...] |
| /src/external/gpl3/gdb/dist/gdb/unittests/ |
| scoped_restore-selftests.c | 27 struct Derived : Base {}; 80 Derived derived; local 82 scoped_restore restore = make_scoped_restore (&base, &derived); 84 SELF_CHECK (base == &derived);
|
| /src/external/gpl3/gdb.old/dist/gdb/unittests/ |
| scoped_restore-selftests.c | 27 struct Derived : Base {}; 80 Derived derived; local 82 scoped_restore restore = make_scoped_restore (&base, &derived); 84 SELF_CHECK (base == &derived);
|
| /src/external/gpl3/gcc/dist/libsanitizer/ubsan/ |
| ubsan_type_hash_itanium.cpp | 127 /// \brief Determine whether \p Derived has a \p Base base class subobject at 129 static bool isDerivedFromAtOffset(const abi::__class_type_info *Derived, 132 if (Derived->name() == Base->name() || 133 __ubsan::checkTypeInfoEquality(Derived, Base)) 137 dynamic_cast<const abi::__si_class_type_info*>(Derived)) 141 dynamic_cast<const abi::__vmi_class_type_info*>(Derived); 146 // Look for a base class which is derived from \p Base at the right offset. 166 /// \brief Find the derived-most dynamic base class of \p Derived at offset 169 const abi::__class_type_info *Derived, sptr Offset) [all...] |