Home
last modified time | relevance | path

Searched refs:IsDerivedFrom (Results 1 – 11 of 11) sorted by relevance

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaFixItUtils.cpp44 if ((FromUnq == ToUnq || (S.IsDerivedFrom(Loc, FromUnq, ToUnq)) ) && in compareTypesSimple()
H A DSemaOverload.cpp1467 S.IsDerivedFrom(From->getBeginLoc(), FromCanon, ToCanon))) { in TryUserDefinedConversion()
1559 S.IsDerivedFrom(From->getBeginLoc(), FromType, ToType))) { in TryImplicitConversion()
2577 IsDerivedFrom(From->getBeginLoc(), FromPointeeType, ToPointeeType)) { in IsPointerConversion()
3213 IsDerivedFrom(From->getBeginLoc(), ToClass, FromClass)) { in IsMemberPointerConversion()
3257 IsDerivedFrom(From->getBeginLoc(), ToClass, FromClass, Paths); in CheckMemberPointerConversion()
3559 S.IsDerivedFrom(From->getBeginLoc(), From->getType(), ToType))) in IsUserDefinedConversion()
4192 if (S.IsDerivedFrom(Loc, FromPointee2, FromPointee1)) in CompareStandardConversionSequences()
4194 else if (S.IsDerivedFrom(Loc, FromPointee1, FromPointee2)) in CompareStandardConversionSequences()
4444 if (S.IsDerivedFrom(Loc, ToPointee1, ToPointee2)) in CompareDerivedToBaseConversions()
4446 else if (S.IsDerivedFrom(Loc, ToPointee2, ToPointee1)) in CompareDerivedToBaseConversions()
[all …]
H A DSemaCast.cpp873 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { in CheckDynamicCast()
1530 if (!Self.IsDerivedFrom(SrcExpr->getBeginLoc(), SrcExpr->getType(), in TryLValueToRValueCast()
1631 if (!Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths)) { in TryStaticDowncast()
1667 Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths); in TryStaticDowncast()
1772 if (!Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths)) in TryStaticMemberPointerUpcast()
1780 Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths); in TryStaticMemberPointerUpcast()
H A DSemaExprCXX.cpp6000 if (!IsDerivedFrom(Loc, LHSType, Class)) { in CheckPointerToMemberOperands()
6140 Self.IsDerivedFrom(QuestionLoc, FTy, TTy); in TryClassUnification()
6142 Self.IsDerivedFrom(QuestionLoc, TTy, FTy))) { in TryClassUnification()
7001 Class = IsDerivedFrom(Loc, Cls1, Cls2) ? MemPtr1->getClass() : in FindCompositePointerType()
7002 IsDerivedFrom(Loc, Cls2, Cls1) ? MemPtr2->getClass() : nullptr; in FindCompositePointerType()
7099 else if (IsDerivedFrom(Loc, Composite1, Composite2)) in FindCompositePointerType()
7101 else if (IsDerivedFrom(Loc, Composite2, Composite1)) in FindCompositePointerType()
H A DSemaExceptionSpec.cpp743 if (!IsDerivedFrom(SourceLocation(), ExceptionType, HandlerType, Paths) || in handlerCanCatch()
H A DSemaDeclCXX.cpp2880 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base) { in IsDerivedFrom() function in Sema
2907 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base, in IsDerivedFrom() function in Sema
2977 bool DerivationOkay = IsDerivedFrom(Loc, Derived, Base, Paths); in CheckDerivedToBaseConversion()
3029 bool StillOkay = IsDerivedFrom(Loc, Derived, Base, Paths); in CheckDerivedToBaseConversion()
4148 if (SemaRef.IsDerivedFrom(ClassDecl->getLocation(), in FindBaseInitializer()
11009 else if (IsDerivedFrom(Conversion->getLocation(), ClassType, ConvType)) in ActOnConversionDeclarator()
17749 if (!IsDerivedFrom(New->getLocation(), NewClassTy, OldClassTy)) { in CheckOverridingFunctionReturnType()
H A DSemaInit.cpp4453 S.IsDerivedFrom(InitList->getBeginLoc(), InitType, DestType)) { in TryListInitialization()
6236 S.IsDerivedFrom(Initializer->getBeginLoc(), SourceType, DestType)))) { in InitializeFrom()
6336 S.IsDerivedFrom(Initializer->getBeginLoc(), SourceType, in InitializeFrom()
H A DSemaTemplateDeduction.cpp3493 S.IsDerivedFrom(Info.getLocation(), A, DeducedA)) in CheckOriginalCallArgDeduction()
H A DSemaOpenMP.cpp18877 SemaRef.IsDerivedFrom(Loc, Ty, D->getType()) && in buildDeclareReductionRef()
18884 if (SemaRef.IsDerivedFrom(Loc, Ty, VD->getType(), Paths)) { in buildDeclareReductionRef()
21629 SemaRef.IsDerivedFrom(Loc, Type, D->getType()) && in buildUserDefinedMapperRef()
21636 if (SemaRef.IsDerivedFrom(Loc, Type, VD->getType(), Paths)) { in buildUserDefinedMapperRef()
H A DSemaExpr.cpp3104 if (IsDerivedFrom(FromLoc, FromRecordType, QRecordType)) { in PerformObjectMemberConversion()
16342 if (IsDerivedFrom(OC.LocStart, CurrentType, Context.getTypeDeclType(Parent), in BuildBuiltinOffsetOf()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h7793 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base);
7794 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base,