| /freebsd-14.2/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 | 4347 if (S.IsDerivedFrom(Loc, FromPointee2, FromPointee1)) in CompareStandardConversionSequences() 4613 if (S.IsDerivedFrom(Loc, ToPointee1, ToPointee2)) in CompareDerivedToBaseConversions() 4621 if (S.IsDerivedFrom(Loc, FromPointee2, FromPointee1)) in CompareDerivedToBaseConversions() 4730 if (S.IsDerivedFrom(Loc, ToPointee1, ToPointee2)) in CompareDerivedToBaseConversions() 4737 if (S.IsDerivedFrom(Loc, FromPointee1, FromPointee2)) in CompareDerivedToBaseConversions() 4751 if (S.IsDerivedFrom(Loc, ToType1, ToType2)) in CompareDerivedToBaseConversions() 4753 else if (S.IsDerivedFrom(Loc, ToType2, ToType1)) in CompareDerivedToBaseConversions() 4763 if (S.IsDerivedFrom(Loc, FromType2, FromType1)) in CompareDerivedToBaseConversions() 4765 else if (S.IsDerivedFrom(Loc, FromType1, FromType2)) in CompareDerivedToBaseConversions() 4822 IsDerivedFrom(Loc, UnqualT2, UnqualT1)) in CompareReferenceRelationship() [all …]
|
| H A D | SemaCast.cpp | 896 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { in CheckDynamicCast() 1561 if (!Self.IsDerivedFrom(SrcExpr->getBeginLoc(), SrcExpr->getType(), in TryLValueToRValueCast() 1662 if (!Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths)) { in TryStaticDowncast() 1698 Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths); in TryStaticDowncast() 1803 if (!Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths)) in TryStaticMemberPointerUpcast() 1811 Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths); in TryStaticMemberPointerUpcast()
|
| H A D | SemaExprCXX.cpp | 6117 if (!IsDerivedFrom(Loc, LHSType, Class)) { in CheckPointerToMemberOperands() 6257 Self.IsDerivedFrom(QuestionLoc, FTy, TTy); in TryClassUnification() 6259 Self.IsDerivedFrom(QuestionLoc, TTy, FTy))) { in TryClassUnification() 7125 Class = IsDerivedFrom(Loc, Cls1, Cls2) ? MemPtr1->getClass() : in FindCompositePointerType() 7126 IsDerivedFrom(Loc, Cls2, Cls1) ? MemPtr2->getClass() : nullptr; in FindCompositePointerType() 7223 else if (IsDerivedFrom(Loc, Composite1, Composite2)) in FindCompositePointerType() 7225 else if (IsDerivedFrom(Loc, Composite2, Composite1)) in FindCompositePointerType()
|
| H A D | SemaExceptionSpec.cpp | 749 if (!IsDerivedFrom(SourceLocation(), ExceptionType, HandlerType, Paths) || in handlerCanCatch()
|
| H A D | SemaLambda.cpp | 406 if (IsDerivedFrom(RD->getLocation(), ExplicitObjectParameterType, LambdaType)) in DiagnoseInvalidExplicitObjectParameterInLambda()
|
| H A D | SemaDeclCXX.cpp | 3030 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base) { in IsDerivedFrom() function in Sema 3057 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base, in IsDerivedFrom() function in Sema 3127 bool DerivationOkay = IsDerivedFrom(Loc, Derived, Base, Paths); in CheckDerivedToBaseConversion() 3179 bool StillOkay = IsDerivedFrom(Loc, Derived, Base, Paths); in CheckDerivedToBaseConversion() 4298 if (SemaRef.IsDerivedFrom(ClassDecl->getLocation(), in FindBaseInitializer() 11316 else if (IsDerivedFrom(Conversion->getLocation(), ClassType, ConvType)) in ActOnConversionDeclarator() 18446 if (!IsDerivedFrom(New->getLocation(), NewClassTy, OldClassTy)) { in CheckOverridingFunctionReturnType()
|
| H A D | SemaInit.cpp | 4591 S.IsDerivedFrom(InitList->getBeginLoc(), InitType, DestType)) { in TryListInitialization() 6378 (Initializer && S.IsDerivedFrom(Initializer->getBeginLoc(), in InitializeFrom() 6481 S.IsDerivedFrom(Initializer->getBeginLoc(), SourceType, in InitializeFrom()
|
| H A D | SemaTemplateDeduction.cpp | 3551 S.IsDerivedFrom(Info.getLocation(), A, DeducedA)) in CheckOriginalCallArgDeduction()
|
| H A D | SemaOpenMP.cpp | 19216 SemaRef.IsDerivedFrom(Loc, Ty, D->getType()) && in buildDeclareReductionRef() 19223 if (SemaRef.IsDerivedFrom(Loc, Ty, VD->getType(), Paths)) { in buildDeclareReductionRef() 22044 SemaRef.IsDerivedFrom(Loc, Type, D->getType()) && in buildUserDefinedMapperRef() 22051 if (SemaRef.IsDerivedFrom(Loc, Type, VD->getType(), Paths)) { in buildUserDefinedMapperRef()
|
| H A D | SemaExpr.cpp | 3304 if (IsDerivedFrom(FromLoc, FromRecordType, QRecordType)) { in PerformObjectMemberConversion() 16851 if (IsDerivedFrom(OC.LocStart, CurrentType, Context.getTypeDeclType(Parent), in BuildBuiltinOffsetOf()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 7985 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base); 7986 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base,
|