| /freebsd-13.1/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 | 4036 if (S.IsDerivedFrom(Loc, FromPointee2, FromPointee1)) in CompareStandardConversionSequences() 4329 if (S.IsDerivedFrom(Loc, ToPointee1, ToPointee2)) in CompareDerivedToBaseConversions() 4337 if (S.IsDerivedFrom(Loc, FromPointee2, FromPointee1)) in CompareDerivedToBaseConversions() 4446 if (S.IsDerivedFrom(Loc, ToPointee1, ToPointee2)) in CompareDerivedToBaseConversions() 4453 if (S.IsDerivedFrom(Loc, FromPointee1, FromPointee2)) in CompareDerivedToBaseConversions() 4467 if (S.IsDerivedFrom(Loc, ToType1, ToType2)) in CompareDerivedToBaseConversions() 4469 else if (S.IsDerivedFrom(Loc, ToType2, ToType1)) in CompareDerivedToBaseConversions() 4479 if (S.IsDerivedFrom(Loc, FromType2, FromType1)) in CompareDerivedToBaseConversions() 4481 else if (S.IsDerivedFrom(Loc, FromType1, FromType2)) in CompareDerivedToBaseConversions() 4548 IsDerivedFrom(Loc, UnqualT2, UnqualT1)) in CompareReferenceRelationship() [all …]
|
| H A D | SemaCast.cpp | 872 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { in CheckDynamicCast() 1512 if (!Self.IsDerivedFrom(SrcExpr->getBeginLoc(), SrcExpr->getType(), in TryLValueToRValueCast() 1613 if (!Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths)) { in TryStaticDowncast() 1649 Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths); in TryStaticDowncast() 1754 if (!Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths)) in TryStaticMemberPointerUpcast() 1762 Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths); in TryStaticMemberPointerUpcast()
|
| H A D | SemaExprCXX.cpp | 5776 if (!IsDerivedFrom(Loc, LHSType, Class)) { in CheckPointerToMemberOperands() 5918 Self.IsDerivedFrom(QuestionLoc, FTy, TTy); in TryClassUnification() 5920 Self.IsDerivedFrom(QuestionLoc, TTy, FTy))) { in TryClassUnification() 6741 Class = IsDerivedFrom(Loc, Cls1, Cls2) ? MemPtr1->getClass() : in FindCompositePointerType() 6742 IsDerivedFrom(Loc, Cls2, Cls1) ? MemPtr2->getClass() : nullptr; in FindCompositePointerType() 6841 else if (IsDerivedFrom(Loc, Composite1, Composite2)) in FindCompositePointerType() 6843 else if (IsDerivedFrom(Loc, Composite2, Composite1)) in FindCompositePointerType()
|
| H A D | SemaExceptionSpec.cpp | 737 if (!IsDerivedFrom(SourceLocation(), ExceptionType, HandlerType, Paths) || in handlerCanCatch()
|
| H A D | SemaDeclCXX.cpp | 2806 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base) { in IsDerivedFrom() function in Sema 2833 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base, in IsDerivedFrom() function in Sema 2903 bool DerivationOkay = IsDerivedFrom(Loc, Derived, Base, Paths); in CheckDerivedToBaseConversion() 2955 bool StillOkay = IsDerivedFrom(Loc, Derived, Base, Paths); in CheckDerivedToBaseConversion() 4064 if (SemaRef.IsDerivedFrom(ClassDecl->getLocation(), in FindBaseInitializer() 10727 else if (IsDerivedFrom(Conversion->getLocation(), ClassType, ConvType)) in ActOnConversionDeclarator() 17267 if (!IsDerivedFrom(New->getLocation(), NewClassTy, OldClassTy)) { in CheckOverridingFunctionReturnType()
|
| H A D | SemaInit.cpp | 4398 S.IsDerivedFrom(InitList->getBeginLoc(), InitType, DestType)) { in TryListInitialization() 5927 S.IsDerivedFrom(Initializer->getBeginLoc(), SourceType, DestType)))) in InitializeFrom() 5961 S.IsDerivedFrom(Initializer->getBeginLoc(), SourceType, in InitializeFrom()
|
| H A D | SemaTemplateDeduction.cpp | 3512 S.IsDerivedFrom(Info.getLocation(), A, DeducedA)) in CheckOriginalCallArgDeduction()
|
| H A D | SemaOpenMP.cpp | 16523 SemaRef.IsDerivedFrom(Loc, Ty, D->getType()) && in buildDeclareReductionRef() 16530 if (SemaRef.IsDerivedFrom(Loc, Ty, VD->getType(), Paths)) { in buildDeclareReductionRef() 19261 SemaRef.IsDerivedFrom(Loc, Type, D->getType()) && in buildUserDefinedMapperRef() 19268 if (SemaRef.IsDerivedFrom(Loc, Type, VD->getType(), Paths)) { in buildUserDefinedMapperRef()
|
| H A D | SemaExpr.cpp | 3042 if (IsDerivedFrom(FromLoc, FromRecordType, QRecordType)) { in PerformObjectMemberConversion() 15306 if (IsDerivedFrom(OC.LocStart, CurrentType, Context.getTypeDeclType(Parent), in BuildBuiltinOffsetOf()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 7249 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base); 7250 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base,
|