/external/clang/test/SemaCXX/ |
H A D | MicrosoftExtensions.cpp | 18 struct Derived : Base { struct in namespace:microsoft_exception_spec
|
H A D | type-traits.cpp | 1614 class Derived : Base {}; class in inherits:Base 1615 class Derived2a : Derived {}; 1616 class Derived2b : Derived {}; 1625 template <typename Base, typename Derived> 1627 int t[T(__is_base_of(Base, Derived))]; 1629 template <typename Base, typename Derived> 1631 int t[F(__is_base_of(Base, Derived))]; 1639 { int arr[T(__is_base_of(Base, Derived))]; } 1640 { int arr[T(__is_base_of(const Base, Derived))]; } 1641 { int arr[F(__is_base_of(Derived, Bas [all...] |
H A D | warn-thread-safety-analysis.cpp | 3320 class Derived : public BaseT<int> { class in namespace:TemplateLockReturned 3466 class Derived : public Base3 { class in namespace:VirtualMethodCanonicalizationTest 3473 void derivedFun(Derived *d) EXCLUSIVE_LOCKS_REQUIRED(d->getMutex()) {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | SetsTest.java | 425 TreeSet<Derived> set = Sets.newTreeSet(); 427 set.add(new Derived("foo")); 428 set.add(new Derived("bar")); 429 ASSERT.that(set).hasContentsInOrder(new Derived("bar"), new Derived("foo")); 451 Iterable<Derived> iterable = 452 Arrays.asList(new Derived("foo"), new Derived("bar")); 453 TreeSet<Derived> set = Sets.newTreeSet(iterable); 455 new Derived("ba 992 static class Derived extends Base { class in class:SetsTest 993 public Derived(String s) { method in class:SetsTest.Derived [all...] |
/external/llvm/include/llvm/Support/ |
H A D | YAMLTraits.h | 291 struct Derived : T, Fallback { }; struct in struct:llvm::yaml::has_FlowTraits 300 static bool const value = sizeof(f<Derived>(nullptr)) == 2;
|
/external/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchersInternal.h | 23 // everywhere a Matcher<Derived> is required. 204 /// A Matcher<Base> can be used anywhere a Matcher<Derived> is 499 struct Derived : T, Default { }; struct in struct:clang::ast_matchers::internal::has_getDecl 510 static bool const value = sizeof(f<Derived>(nullptr)) == 2;
|
/external/clang/lib/AST/ |
H A D | MicrosoftMangle.cpp | 107 void mangleCXXVFTable(const CXXRecordDecl *Derived, 110 void mangleCXXVBTable(const CXXRecordDecl *Derived, 115 void mangleCXXRTTIBaseClassDescriptor(const CXXRecordDecl *Derived, 119 void mangleCXXRTTIBaseClassArray(const CXXRecordDecl *Derived, 121 void mangleCXXRTTIClassHierarchyDescriptor(const CXXRecordDecl *Derived, 124 mangleCXXRTTICompleteObjectLocator(const CXXRecordDecl *Derived, 2212 const CXXRecordDecl *Derived, ArrayRef<const CXXRecordDecl *> BasePath, 2220 Mangler.mangleName(Derived); 2228 const CXXRecordDecl *Derived, ArrayRef<const CXXRecordDecl *> BasePath, 2236 Mangler.mangleName(Derived); 2211 mangleCXXVFTable( const CXXRecordDecl *Derived, ArrayRef<const CXXRecordDecl *> BasePath, raw_ostream &Out) argument 2227 mangleCXXVBTable( const CXXRecordDecl *Derived, ArrayRef<const CXXRecordDecl *> BasePath, raw_ostream &Out) argument 2257 mangleCXXRTTIBaseClassDescriptor( const CXXRecordDecl *Derived, uint32_t NVOffset, int32_t VBPtrOffset, uint32_t VBTableOffset, uint32_t Flags, raw_ostream &Out) argument 2270 mangleCXXRTTIBaseClassArray( const CXXRecordDecl *Derived, raw_ostream &Out) argument 2278 mangleCXXRTTIClassHierarchyDescriptor( const CXXRecordDecl *Derived, raw_ostream &Out) argument 2286 mangleCXXRTTICompleteObjectLocator( const CXXRecordDecl *Derived, ArrayRef<const CXXRecordDecl *> BasePath, raw_ostream &Out) argument [all...] |
H A D | RecordLayoutBuilder.cpp | 55 const BaseSubobjectInfo *Derived; member in struct:__anon17744::BaseSubobjectInfo 250 if (Info == PrimaryVirtualBaseInfo->Derived) { 299 if (Info == PrimaryVirtualBaseInfo->Derived) 688 BaseSubobjectInfo *Derived); 849 BaseSubobjectInfo *Derived) { 869 Info->Derived = nullptr; 887 if (PrimaryVirtualBaseInfo->Derived) { 895 PrimaryVirtualBaseInfo->Derived = Info; 919 PrimaryVirtualBaseInfo->Derived = Info; 980 PrimaryBaseInfo->Derived 847 ComputeBaseSubobjectInfo(const CXXRecordDecl *RD, bool IsVirtual, BaseSubobjectInfo *Derived) argument [all...] |
H A D | ExprConstant.cpp | 1058 bool castToDerived(const CXXRecordDecl *Derived) { argument 1062 Path.push_back(Derived); 1065 if (!castBack(Derived)) 1783 const CXXRecordDecl *Derived, 1787 if (Derived->isInvalidDecl()) return false; 1788 RL = &Info.Ctx.getASTRecordLayout(Derived); 2002 static unsigned getBaseIndex(const CXXRecordDecl *Derived, argument 2006 for (CXXRecordDecl::base_class_const_iterator I = Derived->bases_begin(), 2007 E = Derived->bases_end(); I != E; ++I, ++Index) { 2250 const CXXRecordDecl *Derived 1782 HandleLValueDirectBase(EvalInfo &Info, const Expr *E, LValue &Obj, const CXXRecordDecl *Derived, const CXXRecordDecl *Base, const ASTRecordLayout *RL = nullptr) argument [all...] |
H A D | VTableBuilder.cpp | 308 // T *Derived::foo(); 898 BaseSubobject Derived) const; 1224 BaseSubobject Base, BaseSubobject Derived) const { 1226 const CXXRecordDecl *DerivedRD = Derived.getBase(); 1255 OffsetToBaseSubobject += Derived.getBaseOffset(); 3416 // First, see if the Derived class shared the vbptr with a non-virtual base. 3419 // If the Derived class shares the vbptr with a non-virtual base, the shared 3439 unsigned MicrosoftVTableContext::getVBTableIndex(const CXXRecordDecl *Derived, argument 3441 const VirtualBaseInfo *VBInfo = computeVBTableRelatedInformation(Derived);
|
H A D | Expr.cpp | 66 CXXRecordDecl *Derived local 68 Adjustments.push_back(SubobjectAdjustment(CE, Derived));
|
/external/clang/lib/Sema/ |
H A D | SemaAccess.cpp | 274 static AccessResult IsDerivedFromInclusive(const CXXRecordDecl *Derived, argument 276 assert(Derived->getCanonicalDecl() == Derived); 279 if (Derived == Target) return AR_accessible; 281 bool CheckDependent = Derived->isDependentContext(); 282 if (CheckDependent && MightInstantiateTo(Derived, Target)) 289 if (Derived->isDependentContext() && !Derived->hasDefinition()) 292 for (const auto &I : Derived->bases()) { 317 Derived 932 const CXXRecordDecl *Derived = Target.getNamingClass(); local 1796 CheckBaseClassAccess(SourceLocation AccessLoc, QualType Base, QualType Derived, const CXXBasePath &Path, unsigned DiagID, bool ForceCheck, bool ForceUnprivileged) argument [all...] |
H A D | SemaDeclCXX.cpp | 1614 /// \brief Determine whether the type \p Derived is a C++ class that is 1616 bool Sema::IsDerivedFrom(QualType Derived, QualType Base) { argument 1620 CXXRecordDecl *DerivedRD = Derived->getAsCXXRecordDecl(); 1637 /// \brief Determine whether the type \p Derived is a C++ class that is 1639 bool Sema::IsDerivedFrom(QualType Derived, QualType Base, CXXBasePaths &Paths) { argument 1643 CXXRecordDecl *DerivedRD = Derived->getAsCXXRecordDecl(); 1689 /// CheckDerivedToBaseConversion - Check whether the Derived-to-Base 1690 /// conversion (where Derived and Base are class types) is 1698 Sema::CheckDerivedToBaseConversion(QualType Derived, QualType Base, argument 1704 // First, determine whether the path from Derived t 1761 CheckDerivedToBaseConversion(QualType Derived, QualType Base, SourceLocation Loc, SourceRange Range, CXXCastPath *BasePath, bool IgnoreAccess) argument 7474 findDirectBaseWithType(CXXRecordDecl *Derived, QualType DesiredBase, bool &AnyDependentBases) argument 8512 InheritingConstructorInfo(Sema &SemaRef, CXXRecordDecl *Derived) argument 8780 CXXRecordDecl *Derived; member in class:__anon18040::InheritingConstructorInfo [all...] |
/external/clang/test/CXX/drs/ |
H A D | dr1xx.cpp | 799 template<typename T> struct Derived : public Base<T> { struct in namespace:dr176 801 typedef typename Derived::template Base<T> A; 802 typedef typename Derived::Base A; 805 template struct Derived<int>;
|
/external/clang/test/CodeGenCXX/ |
H A D | mangle.cpp | 403 struct Derived : Path1, Path2 { }; struct in namespace:test3 417 Derived obj;
|
/external/clang/lib/CodeGen/ |
H A D | CGClass.cpp | 84 const CXXRecordDecl *Derived, 87 // 'this' must be a pointer (in some address space) to Derived. 90 == ConvertType(Derived)); 94 const ASTRecordLayout &Layout = getContext().getASTRecordLayout(Derived); 139 const CXXRecordDecl *Derived, 162 ComputeNonVirtualBaseClassOffset(getContext(), VBase ? VBase : Derived, 168 if (VBase && Derived->hasAttr<FinalAttr>()) { 169 const ASTRecordLayout &layout = getContext().getASTRecordLayout(Derived); 204 CGM.getCXXABI().GetVirtualBaseClassOffset(*this, Value, Derived, VBase); 232 const CXXRecordDecl *Derived, 83 GetAddressOfDirectBaseInCompleteClass(llvm::Value *This, const CXXRecordDecl *Derived, const CXXRecordDecl *Base, bool BaseIsVirtual) argument 138 GetAddressOfBaseClass(llvm::Value *Value, const CXXRecordDecl *Derived, CastExpr::path_const_iterator PathBegin, CastExpr::path_const_iterator PathEnd, bool NullCheckValue) argument 231 GetAddressOfDerivedClass(llvm::Value *Value, const CXXRecordDecl *Derived, CastExpr::path_const_iterator PathBegin, CastExpr::path_const_iterator PathEnd, bool NullCheckValue) argument [all...] |
H A D | CGExpr.cpp | 2878 llvm::Value *Derived = local 2887 Derived, E->getType()); 2889 return MakeAddrLValue(Derived, E->getType());
|
H A D | CGExprScalar.cpp | 1324 llvm::Value *Derived = local 1333 Derived, DestTy->getPointeeType()); 1335 return Derived;
|