/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 | 1627 S.IsDerivedFrom(From->getBeginLoc(), FromCanon, ToCanon))) { in TryUserDefinedConversion() 1719 S.IsDerivedFrom(From->getBeginLoc(), FromType, ToType))) { in TryImplicitConversion() 2839 IsDerivedFrom(From->getBeginLoc(), FromPointeeType, ToPointeeType)) { in IsPointerConversion() 3416 IsDerivedFrom(From->getBeginLoc(), ToClass, FromClass)) { in IsMemberPointerConversion() 3454 IsDerivedFrom(From->getBeginLoc(), ToClass, FromClass, Paths); in CheckMemberPointerConversion() 3749 S.IsDerivedFrom(From->getBeginLoc(), From->getType(), ToType))) in IsUserDefinedConversion() 4381 if (S.IsDerivedFrom(Loc, FromPointee2, FromPointee1)) in CompareStandardConversionSequences() 4383 else if (S.IsDerivedFrom(Loc, FromPointee1, FromPointee2)) in CompareStandardConversionSequences() 4646 if (S.IsDerivedFrom(Loc, ToPointee1, ToPointee2)) in CompareDerivedToBaseConversions() 4648 else if (S.IsDerivedFrom(Loc, ToPointee2, ToPointee1)) in CompareDerivedToBaseConversions() [all …]
|
H A D | SemaCast.cpp | 904 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { in CheckDynamicCast() 1569 if (!Self.IsDerivedFrom(SrcExpr->getBeginLoc(), SrcExpr->getType(), in TryLValueToRValueCast() 1670 if (!Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths)) { in TryStaticDowncast() 1706 Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths); in TryStaticDowncast() 1811 if (!Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths)) in TryStaticMemberPointerUpcast() 1819 Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths); in TryStaticMemberPointerUpcast()
|
H A D | SemaExprCXX.cpp | 6365 if (!IsDerivedFrom(Loc, LHSType, Class)) { in CheckPointerToMemberOperands() 6505 Self.IsDerivedFrom(QuestionLoc, FTy, TTy); in TryClassUnification() 6507 Self.IsDerivedFrom(QuestionLoc, TTy, FTy))) { in TryClassUnification() 7342 Class = IsDerivedFrom(Loc, Cls1, Cls2) ? MemPtr1->getClass() : in FindCompositePointerType() 7343 IsDerivedFrom(Loc, Cls2, Cls1) ? MemPtr2->getClass() : nullptr; in FindCompositePointerType() 7440 else if (IsDerivedFrom(Loc, Composite1, Composite2)) in FindCompositePointerType() 7442 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 | SemaLambda.cpp | 432 if (!IsDerivedFrom(RD->getLocation(), ExplicitObjectParameterType, LambdaType, in DiagnoseInvalidExplicitObjectParameterInLambda()
|
H A D | SemaDeclCXX.cpp | 2944 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base) { in IsDerivedFrom() function in Sema 2969 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base, in IsDerivedFrom() function in Sema 3028 bool DerivationOkay = IsDerivedFrom(Loc, Derived, Base, Paths); in CheckDerivedToBaseConversion() 3080 bool StillOkay = IsDerivedFrom(Loc, Derived, Base, Paths); in CheckDerivedToBaseConversion() 4151 if (SemaRef.IsDerivedFrom(ClassDecl->getLocation(), in FindBaseInitializer() 11205 else if (IsDerivedFrom(Conversion->getLocation(), ClassType, ConvType)) in ActOnConversionDeclarator() 18259 if (!IsDerivedFrom(New->getLocation(), NewClassTy, OldClassTy)) { in CheckOverridingFunctionReturnType()
|
H A D | SemaInit.cpp | 4728 S.IsDerivedFrom(InitList->getBeginLoc(), InitType, DestType)) { in TryListInitialization() 6522 (Initializer && S.IsDerivedFrom(Initializer->getBeginLoc(), in InitializeFrom() 6625 S.IsDerivedFrom(Initializer->getBeginLoc(), SourceType, in InitializeFrom()
|
H A D | SemaOpenMP.cpp | 18018 SemaRef.IsDerivedFrom(Loc, Ty, D->getType()) && in buildDeclareReductionRef() 18025 if (SemaRef.IsDerivedFrom(Loc, Ty, VD->getType(), Paths)) { in buildDeclareReductionRef() 20866 SemaRef.IsDerivedFrom(Loc, Type, D->getType()) && in buildUserDefinedMapperRef() 20873 if (SemaRef.IsDerivedFrom(Loc, Type, VD->getType(), Paths)) { in buildUserDefinedMapperRef()
|
H A D | SemaTemplateDeduction.cpp | 3730 S.IsDerivedFrom(Info.getLocation(), A, DeducedA)) in CheckOriginalCallArgDeduction()
|
H A D | SemaExpr.cpp | 3044 if (IsDerivedFrom(FromLoc, FromRecordType, QRecordType)) { in PerformObjectMemberConversion() 15845 if (IsDerivedFrom(OC.LocStart, CurrentType, Context.getTypeDeclType(Parent), in BuildBuiltinOffsetOf()
|
H A D | SemaChecking.cpp | 13832 if (!IsDerivedFrom(Derived->getTypeLoc().getBeginLoc(), DerivedT, BaseT)) in IsPointerInterconvertibleBaseOf()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 5670 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base); 5674 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base,
|