| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 44 if ((FromUnq == ToUnq || (S.IsDerivedFrom(Loc, FromUnq, ToUnq)) ) && in compareTypesSimple()
|
| H A D | SemaOverload.cpp | 1362 S.IsDerivedFrom(From->getBeginLoc(), FromCanon, ToCanon))) { in TryUserDefinedConversion() 1454 S.IsDerivedFrom(From->getBeginLoc(), FromType, ToType))) { in TryImplicitConversion() 2469 IsDerivedFrom(From->getBeginLoc(), FromPointeeType, ToPointeeType)) { in IsPointerConversion() 3099 IsDerivedFrom(From->getBeginLoc(), ToClass, FromClass)) { in IsMemberPointerConversion() 3143 IsDerivedFrom(From->getBeginLoc(), ToClass, FromClass, Paths); in CheckMemberPointerConversion() 3433 S.IsDerivedFrom(From->getBeginLoc(), From->getType(), ToType))) in IsUserDefinedConversion() 4036 if (S.IsDerivedFrom(Loc, FromPointee2, FromPointee1)) in CompareStandardConversionSequences() 4038 else if (S.IsDerivedFrom(Loc, FromPointee1, FromPointee2)) in CompareStandardConversionSequences() 4329 if (S.IsDerivedFrom(Loc, ToPointee1, ToPointee2)) in CompareDerivedToBaseConversions() 4331 else if (S.IsDerivedFrom(Loc, ToPointee2, ToPointee1)) in CompareDerivedToBaseConversions() [all …]
|
| H A D | SemaCast.cpp | 863 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { in CheckDynamicCast() 1502 if (!Self.IsDerivedFrom(SrcExpr->getBeginLoc(), SrcExpr->getType(), in TryLValueToRValueCast() 1603 if (!Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths)) { in TryStaticDowncast() 1639 Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths); in TryStaticDowncast() 1744 if (!Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths)) in TryStaticMemberPointerUpcast() 1752 Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths); in TryStaticMemberPointerUpcast()
|
| H A D | SemaExprCXX.cpp | 5727 if (!IsDerivedFrom(Loc, LHSType, Class)) { in CheckPointerToMemberOperands() 5869 Self.IsDerivedFrom(QuestionLoc, FTy, TTy); in TryClassUnification() 5871 Self.IsDerivedFrom(QuestionLoc, TTy, FTy))) { in TryClassUnification() 6693 Class = IsDerivedFrom(Loc, Cls1, Cls2) ? MemPtr1->getClass() : in FindCompositePointerType() 6694 IsDerivedFrom(Loc, Cls2, Cls1) ? MemPtr2->getClass() : nullptr; in FindCompositePointerType() 6793 else if (IsDerivedFrom(Loc, Composite1, Composite2)) in FindCompositePointerType() 6795 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() 10720 else if (IsDerivedFrom(Conversion->getLocation(), ClassType, ConvType)) in ActOnConversionDeclarator() 17062 if (!IsDerivedFrom(New->getLocation(), NewClassTy, OldClassTy)) { in CheckOverridingFunctionReturnType()
|
| H A D | SemaInit.cpp | 4396 S.IsDerivedFrom(InitList->getBeginLoc(), InitType, DestType)) { in TryListInitialization() 5925 S.IsDerivedFrom(Initializer->getBeginLoc(), SourceType, DestType)))) in InitializeFrom() 5959 S.IsDerivedFrom(Initializer->getBeginLoc(), SourceType, in InitializeFrom()
|
| H A D | SemaOpenMP.cpp | 16140 SemaRef.IsDerivedFrom(Loc, Ty, D->getType()) && in buildDeclareReductionRef() 16147 if (SemaRef.IsDerivedFrom(Loc, Ty, VD->getType(), Paths)) { in buildDeclareReductionRef() 18878 SemaRef.IsDerivedFrom(Loc, Type, D->getType()) && in buildUserDefinedMapperRef() 18885 if (SemaRef.IsDerivedFrom(Loc, Type, VD->getType(), Paths)) { in buildUserDefinedMapperRef()
|
| H A D | SemaTemplateDeduction.cpp | 3512 S.IsDerivedFrom(Info.getLocation(), A, DeducedA)) in CheckOriginalCallArgDeduction()
|
| H A D | SemaExpr.cpp | 3032 if (IsDerivedFrom(FromLoc, FromRecordType, QRecordType)) { in PerformObjectMemberConversion() 15185 if (IsDerivedFrom(OC.LocStart, CurrentType, Context.getTypeDeclType(Parent), in BuildBuiltinOffsetOf()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | Sema.h | 7179 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base); 7180 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base,
|