Home
last modified time | relevance | path

Searched refs:isDerivedFrom (Results 1 – 15 of 15) sorted by relevance

/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDCXXInheritance.cpp76 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base) const { in isDerivedFrom() function in CXXRecordDecl
79 return isDerivedFrom(Base, Paths); in isDerivedFrom()
82 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base, in isDerivedFrom() function in CXXRecordDecl
HDVTableBuilder.cpp266 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeBaseOffset()
1235 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeThisAdjustmentBaseOffset()
HDExprCXX.cpp661 return !DestRD->isDerivedFrom(SrcRD); in isAlwaysNull()
/NextBSD/contrib/llvm/tools/clang/include/clang/ASTMatchers/
HDASTMatchers.h1827 AST_MATCHER_P(CXXRecordDecl, isDerivedFrom, in AST_MATCHER_P() argument
1833 AST_MATCHER_P_OVERLOAD(CXXRecordDecl, isDerivedFrom, std::string, BaseName, 1) {
1835 return isDerivedFrom(hasName(BaseName)).matches(Node, Finder, Builder);
1842 return Matcher<CXXRecordDecl>(anyOf(Base, isDerivedFrom(Base)))
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDStore.cpp325 if (MRClass->isDerivedFrom(TargetClass, Paths)) in evalDynamicCast()
HDCallEvent.cpp457 assert(!RD->isDerivedFrom(MD->getParent()) && "Couldn't find known method"); in getRuntimeDefinition()
HDExprEngineCallAndReturn.cpp147 if (ActualClass->isDerivedFrom(ExpectedClass, Paths) && in adjustReturnValue()
/NextBSD/contrib/llvm/tools/clang/lib/ASTMatchers/Dynamic/
HDRegistry.cpp89 REGISTER_OVERLOADED_2(isDerivedFrom); in RegistryMaps()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDDeclCXX.h1427 bool isDerivedFrom(const CXXRecordDecl *Base) const;
1445 bool isDerivedFrom(const CXXRecordDecl *Base, CXXBasePaths &Paths) const;
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaCast.cpp772 if (SrcRD->isDerivedFrom(DestRD, BasePaths)) in DiagnoseReinterpretUpDownCast()
774 else if (DestRD->isDerivedFrom(SrcRD, BasePaths)) in DiagnoseReinterpretUpDownCast()
HDSemaAccess.cpp936 bool isDerived = Derived->isDerivedFrom(const_cast<CXXRecordDecl*>(Base), in FindBestPath()
HDSemaDeclCXX.cpp1636 = Class->isDerivedFrom(CanonicalBase->getAsCXXRecordDecl(), Paths); in AttachBaseSpecifiers()
1688 return DerivedRD->hasDefinition() && DerivedRD->isDerivedFrom(BaseRD); in IsDerivedFrom()
1705 return DerivedRD->isDerivedFrom(BaseRD, Paths); in IsDerivedFrom()
HDSemaLookup.cpp4645 if (!CurRD || (CurRD != RD && !CurRD->isDerivedFrom(RD))) in ValidateCandidate()
HDSemaExprCXX.cpp4179 ->isDerivedFrom(cast<CXXRecordDecl>(lhsRecord->getDecl())); in EvaluateBinaryTypeTrait()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDItaniumCXXABI.cpp1019 if (!Dst->isDerivedFrom(Src, Paths)) in computeOffsetHint()