| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 45 if ((FromUnq == ToUnq || (S.IsDerivedFrom(Loc, FromUnq, ToUnq)) ) && in compareTypesSimple()
|
| H A D | SemaOverload.cpp | 3843 if (S.IsDerivedFrom(Loc, FromPointee2, FromPointee1)) in CompareStandardConversionSequences() 4121 if (S.IsDerivedFrom(Loc, ToPointee1, ToPointee2)) in CompareDerivedToBaseConversions() 4129 if (S.IsDerivedFrom(Loc, FromPointee2, FromPointee1)) in CompareDerivedToBaseConversions() 4242 if (S.IsDerivedFrom(Loc, ToPointee1, ToPointee2)) in CompareDerivedToBaseConversions() 4249 if (S.IsDerivedFrom(Loc, FromPointee1, FromPointee2)) in CompareDerivedToBaseConversions() 4263 if (S.IsDerivedFrom(Loc, ToType1, ToType2)) in CompareDerivedToBaseConversions() 4265 else if (S.IsDerivedFrom(Loc, ToType2, ToType1)) in CompareDerivedToBaseConversions() 4275 if (S.IsDerivedFrom(Loc, FromType2, FromType1)) in CompareDerivedToBaseConversions() 4277 else if (S.IsDerivedFrom(Loc, FromType1, FromType2)) in CompareDerivedToBaseConversions() 4329 IsDerivedFrom(Loc, UnqualT2, UnqualT1)) in CompareReferenceRelationship() [all …]
|
| H A D | SemaCast.cpp | 792 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { in CheckDynamicCast() 1300 if (!Self.IsDerivedFrom(SrcExpr->getBeginLoc(), SrcExpr->getType(), in TryLValueToRValueCast() 1401 if (!Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths)) { in TryStaticDowncast() 1437 Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths); in TryStaticDowncast() 1542 if (!Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths)) in TryStaticMemberPointerUpcast() 1550 Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths); in TryStaticMemberPointerUpcast()
|
| H A D | SemaExceptionSpec.cpp | 711 if (!IsDerivedFrom(SourceLocation(), ExceptionType, HandlerType, Paths) || in handlerCanCatch()
|
| H A D | SemaDeclCXX.cpp | 2521 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base) { in IsDerivedFrom() function in Sema 2548 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base, in IsDerivedFrom() function in Sema 2618 bool DerivationOkay = IsDerivedFrom(Loc, Derived, Base, Paths); in CheckDerivedToBaseConversion() 2670 bool StillOkay = IsDerivedFrom(Loc, Derived, Base, Paths); in CheckDerivedToBaseConversion() 3728 if (SemaRef.IsDerivedFrom(ClassDecl->getLocation(), in FindBaseInitializer() 8632 else if (IsDerivedFrom(Conversion->getLocation(), ClassType, ConvType)) in ActOnConversionDeclarator() 14814 if (!IsDerivedFrom(New->getLocation(), NewClassTy, OldClassTy)) { in CheckOverridingFunctionReturnType()
|
| H A D | SemaExprCXX.cpp | 5452 if (!IsDerivedFrom(Loc, LHSType, Class)) { in CheckPointerToMemberOperands() 5594 Self.IsDerivedFrom(QuestionLoc, FTy, TTy); in TryClassUnification() 5596 Self.IsDerivedFrom(QuestionLoc, TTy, FTy))) { in TryClassUnification()
|
| H A D | SemaInit.cpp | 4139 S.IsDerivedFrom(InitList->getBeginLoc(), InitType, DestType)) { in TryListInitialization() 5609 S.IsDerivedFrom(Initializer->getBeginLoc(), SourceType, DestType)))) in InitializeFrom() 5643 S.IsDerivedFrom(Initializer->getBeginLoc(), SourceType, in InitializeFrom()
|
| H A D | SemaTemplateDeduction.cpp | 3262 S.IsDerivedFrom(Info.getLocation(), A, DeducedA)) in CheckOriginalCallArgDeduction()
|
| H A D | SemaExpr.cpp | 2629 if (IsDerivedFrom(FromLoc, FromRecordType, QRecordType)) { in PerformObjectMemberConversion() 2665 assert(IsDerivedFrom(FromLoc, FromRecordType, URecordType)); in PerformObjectMemberConversion() 13429 if (IsDerivedFrom(OC.LocStart, CurrentType, Context.getTypeDeclType(Parent), in BuildBuiltinOffsetOf()
|
| H A D | SemaOpenMP.cpp | 10684 SemaRef.IsDerivedFrom(Loc, Ty, D->getType()) && in buildDeclareReductionRef() 10691 if (SemaRef.IsDerivedFrom(Loc, Ty, VD->getType(), Paths)) { in buildDeclareReductionRef()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Sema.h | 5986 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base); 5987 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base,
|