| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/DumpTool/ |
| H A D | ASTSrcLocProcessor.cpp | 36 optionally(isDerivedFrom(cxxRecordDecl().bind("derivedFrom")))) in ASTSrcLocProcessor() 156 optionally(isDerivedFrom( in CaptureMethods() 159 optionally(isDerivedFrom( in CaptureMethods() 162 isDerivedFrom(cxxRecordDecl(hasName("clang::TypeLoc")) in CaptureMethods()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | OSObjectCStyleCast.cpp | 101 hasTypePointingTo(cxxRecordDecl(isDerivedFrom("OSMetaClassBase"))); in checkASTCodeBody() 103 cxxRecordDecl(isDerivedFrom("OSObject")).bind(WarnRecordDecl)); in checkASTCodeBody()
|
| H A D | CXXDeleteChecker.cpp | 126 if (!DerivedClass->isDerivedFrom(BaseClass)) in checkTypedDeleteExpr() 156 if (!DerivedClass->isDerivedFrom(BaseClass)) in checkTypedDeleteExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | CXXInheritance.cpp | 67 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base) const { in isDerivedFrom() function in CXXRecordDecl 70 return isDerivedFrom(Base, Paths); in isDerivedFrom() 73 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base, in isDerivedFrom() function in CXXRecordDecl
|
| H A D | ExprCXX.cpp | 791 assert(!SrcRD->isDerivedFrom(DestRD) && in isAlwaysNull() 796 if (DestRD->isEffectivelyFinal() && !DestRD->isDerivedFrom(SrcRD)) in isAlwaysNull()
|
| H A D | VTableBuilder.cpp | 264 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeBaseOffset() 1222 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeThisAdjustmentBaseOffset()
|
| H A D | ExprConstant.cpp | 3170 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in CastToBaseClass() 5962 DynType->Type->isDerivedFrom(C))) in HandleDynamicCast() 5998 if (DynType->Type->isDerivedFrom(C, Paths) && !Paths.isAmbiguous(CQT) && in HandleDynamicCast()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | RecordOps.cpp | 27 (SrcDecl && DstDecl && SrcDecl->isDerivedFrom(DstDecl)); in copyRecord()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | Store.cpp | 344 if (MRClass->isDerivedFrom(TargetClass, Paths)) in evalBaseToDerived() 385 if (TargetClass && SourceClass && TargetClass->isDerivedFrom(SourceClass)) in evalBaseToDerived()
|
| H A D | ExprEngineCallAndReturn.cpp | 153 if (ActualClass->isDerivedFrom(ExpectedClass, Paths) && in adjustReturnValue()
|
| H A D | CallEvent.cpp | 786 assert(!RD->isDerivedFrom(MD->getParent()) && "Couldn't find known method"); in getRuntimeDefinition()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Context.cpp | 259 if (Base == StaticDecl || Base->isDerivedFrom(StaticDecl)) { in getOverridingFunction()
|
| H A D | ByteCodeExprGen.cpp | 2929 if (BaseDecl == FinalDecl || BaseDecl->isDerivedFrom(FinalDecl)) { in collectBaseOffset()
|
| H A D | Interp.h | 1942 if (Func->getParentDecl()->isDerivedFrom(ThisFieldDecl)) { in CallVirt()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 3269 isDerivedFrom, in AST_POLYMORPHIC_MATCHER_P() argument 3284 isDerivedFrom, 3290 const auto M = isDerivedFrom(hasName(BaseName)); 3345 const auto M = anyOf(Base, isDerivedFrom(Base));
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 112 REGISTER_OVERLOADED_2(isDerivedFrom); in RegistryMaps()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 1573 bool isDerivedFrom(const CXXRecordDecl *Base) const; 1591 bool isDerivedFrom(const CXXRecordDecl *Base, CXXBasePaths &Paths) const;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCast.cpp | 1017 if (SrcRD->isDerivedFrom(DestRD, BasePaths)) in DiagnoseReinterpretUpDownCast() 1019 else if (DestRD->isDerivedFrom(SrcRD, BasePaths)) in DiagnoseReinterpretUpDownCast()
|
| H A D | SemaAccess.cpp | 959 bool isDerived = Derived->isDerivedFrom(const_cast<CXXRecordDecl*>(Base), in FindBestPath()
|
| H A D | SemaCodeComplete.cpp | 1305 CurrentClassScope->isDerivedFrom(Method->getParent())); in canCxxMethodBeCalled() 1317 MaybeDerived == MaybeBase || MaybeDerived->isDerivedFrom(MaybeBase); in canCxxMethodBeCalled() 1763 !NamingClass->isDerivedFrom(Cls)) { in IsAccessible()
|
| H A D | SemaLookup.cpp | 5645 if (!CurRD || (CurRD != RD && !CurRD->isDerivedFrom(RD))) in ValidateCandidate()
|
| H A D | SemaDeclCXX.cpp | 2996 = Class->isDerivedFrom(CanonicalBase->getAsCXXRecordDecl(), Paths); in AttachBaseSpecifiers() 3052 return DerivedRD->isDerivedFrom(BaseRD); in IsDerivedFrom() 3073 return DerivedRD->isDerivedFrom(BaseRD, Paths); in IsDerivedFrom()
|
| H A D | SemaOverload.cpp | 10490 if (Cand1Class->isDerivedFrom(Cand2Class)) in isBetterOverloadCandidate() 10492 if (Cand2Class->isDerivedFrom(Cand1Class)) in isBetterOverloadCandidate()
|
| H A D | SemaExprCXX.cpp | 5770 ->isDerivedFrom(cast<CXXRecordDecl>(lhsRecord->getDecl())); in EvaluateBinaryTypeTrait()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ItaniumCXXABI.cpp | 1376 if (!Dst->isDerivedFrom(Src, Paths)) in computeOffsetHint() 1515 (void)DestDecl->isDerivedFrom(SrcDecl, Paths); in emitExactDynamicCast()
|