| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 44 if ((FromUnq == ToUnq || (S.IsDerivedFrom(Loc, FromUnq, ToUnq))) && in compareTypesSimple()
|
| H A D | SemaOverload.cpp | 1714 S.IsDerivedFrom(FromLoc, FromCanon, ToCanon))) { in TryUserDefinedConversion() 1807 S.IsDerivedFrom(From->getBeginLoc(), FromType, ToType))) { in TryImplicitConversion() 3016 IsDerivedFrom(From->getBeginLoc(), FromPointeeType, ToPointeeType)) { in IsPointerConversion() 3603 IsDerivedFrom(From->getBeginLoc(), ToClass, FromClass)) { in IsMemberPointerConversion() 3658 if (!IsDerivedFrom(OpRange.getBegin(), Derived, Base, Paths)) in CheckMemberPointerConversion() 3981 S.IsDerivedFrom(From->getBeginLoc(), From->getType(), ToType))) in IsUserDefinedConversion() 4617 if (S.IsDerivedFrom(Loc, FromPointee2, FromPointee1)) in CompareStandardConversionSequences() 4619 else if (S.IsDerivedFrom(Loc, FromPointee1, FromPointee2)) in CompareStandardConversionSequences() 4882 if (S.IsDerivedFrom(Loc, ToPointee1, ToPointee2)) in CompareDerivedToBaseConversions() 4884 else if (S.IsDerivedFrom(Loc, ToPointee2, ToPointee1)) in CompareDerivedToBaseConversions() [all …]
|
| H A D | SemaExprCXX.cpp | 5370 if (!IsDerivedFrom(Loc, LHSClass, RHSClass)) { in CheckPointerToMemberOperands() 5511 Self.IsDerivedFrom(QuestionLoc, FTy, TTy); in TryClassUnification() 5513 Self.IsDerivedFrom(QuestionLoc, TTy, FTy))) { in TryClassUnification() 6356 Cls = IsDerivedFrom(Loc, Cls1, Cls2) ? Cls1 in FindCompositePointerType() 6357 : IsDerivedFrom(Loc, Cls2, Cls1) ? Cls2 in FindCompositePointerType() 6461 else if (IsDerivedFrom(Loc, Composite1, Composite2)) in FindCompositePointerType() 6463 else if (IsDerivedFrom(Loc, Composite2, Composite1)) in FindCompositePointerType()
|
| H A D | SemaCast.cpp | 954 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { in CheckDynamicCast() 1745 if (!Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths)) { in TryStaticDowncast() 1782 Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths); in TryStaticDowncast()
|
| H A D | SemaDeclCXX.cpp | 3038 bool Sema::IsDerivedFrom(SourceLocation Loc, CXXRecordDecl *Derived, in IsDerivedFrom() function in Sema 3060 bool Sema::IsDerivedFrom(SourceLocation Loc, CXXRecordDecl *Derived, in IsDerivedFrom() function in Sema 3064 return IsDerivedFrom(Loc, Derived, Base, Paths); in IsDerivedFrom() 3067 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base) { in IsDerivedFrom() function in Sema 3070 return IsDerivedFrom(Loc, Derived->getAsCXXRecordDecl(), in IsDerivedFrom() 3074 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base, in IsDerivedFrom() function in Sema 3076 return IsDerivedFrom(Loc, Derived->getAsCXXRecordDecl(), in IsDerivedFrom() 3120 bool DerivationOkay = IsDerivedFrom(Loc, Derived, Base, Paths); in CheckDerivedToBaseConversion() 3172 bool StillOkay = IsDerivedFrom(Loc, Derived, Base, Paths); in CheckDerivedToBaseConversion() 4247 if (SemaRef.IsDerivedFrom(ClassDecl->getLocation(), in FindBaseInitializer() [all …]
|
| H A D | SemaExceptionSpec.cpp | 738 if (!IsDerivedFrom(SourceLocation(), ExceptionType, HandlerType, Paths) || in handlerCanCatch()
|
| H A D | SemaLambda.cpp | 453 if (!IsDerivedFrom(RD->getLocation(), ExplicitObjectParameterType, LambdaType, in DiagnoseInvalidExplicitObjectParameterInLambda()
|
| H A D | SemaInit.cpp | 4951 S.IsDerivedFrom(InitList->getBeginLoc(), InitType, DestType)) { in TryListInitialization() 6824 (Initializer && S.IsDerivedFrom(Initializer->getBeginLoc(), in InitializeFrom() 6893 S.IsDerivedFrom(Initializer->getBeginLoc(), SourceType, in InitializeFrom()
|
| H A D | SemaOpenMP.cpp | 18641 SemaRef.IsDerivedFrom(Loc, Ty, D->getType()) && in buildDeclareReductionRef() 18649 if (SemaRef.IsDerivedFrom(Loc, Ty, VD->getType(), Paths)) { in buildDeclareReductionRef() 21531 SemaRef.IsDerivedFrom(Loc, Type, D->getType()) && in buildUserDefinedMapperRef() 21539 if (SemaRef.IsDerivedFrom(Loc, Type, VD->getType(), Paths)) { in buildUserDefinedMapperRef() 21703 SemaRef.IsDerivedFrom(Loc, Type, D->getType()) && in hasUserDefinedMapper() 21712 if (SemaRef.IsDerivedFrom(Loc, Type, VD->getType(), Paths)) { in hasUserDefinedMapper()
|
| H A D | SemaTemplateDeduction.cpp | 3802 S.IsDerivedFrom(Info.getLocation(), A, DeducedA)) in CheckOriginalCallArgDeduction()
|
| H A D | SemaExpr.cpp | 3091 if (IsDerivedFrom(FromLoc, FromRecordType, QRecordType)) { in PerformObjectMemberConversion() 16211 if (IsDerivedFrom(OC.LocStart, CurrentType, Context.getTypeDeclType(Parent), in BuildBuiltinOffsetOf()
|
| H A D | SemaChecking.cpp | 15264 if (!IsDerivedFrom(Derived->getTypeLoc().getBeginLoc(), DerivedT, BaseT)) in IsPointerInterconvertibleBaseOf()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 6097 bool IsDerivedFrom(SourceLocation Loc, CXXRecordDecl *Derived, 6099 bool IsDerivedFrom(SourceLocation Loc, CXXRecordDecl *Derived, 6101 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base); 6102 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/ |
| H A D | DemangleTestCases.inc | 5101 {"_ZN5clang4Sema13IsDerivedFromENS_8QualTypeES1_", "clang::Sema::IsDerivedFrom(clang::QualType, cla… 5103 {"_ZN5clang4Sema13IsDerivedFromENS_8QualTypeES1_RNS_12CXXBasePathsE", "clang::Sema::IsDerivedFrom(c…
|