/external/mdnsresponder/mDNSWindows/ControlPanel/ |
D | ControlPanel.cpp | 83 check( uiClass->IsDerivedFrom( RUNTIME_CLASS( CDialog ) ) || in CCPApplet() 84 uiClass->IsDerivedFrom( RUNTIME_CLASS( CPropertySheet ) ) ); in CCPApplet()
|
/external/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 45 if ((FromUnq == ToUnq || (S.IsDerivedFrom(Loc, FromUnq, ToUnq)) ) && in compareTypesSimple()
|
D | SemaCast.cpp | 688 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { in CheckDynamicCast() 1176 if (!Self.IsDerivedFrom(SrcExpr->getLocStart(), SrcExpr->getType(), in TryLValueToRValueCast() 1277 if (!Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths)) { in TryStaticDowncast() 1313 Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths); in TryStaticDowncast() 1418 if (!Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths)) in TryStaticMemberPointerUpcast() 1426 Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths); in TryStaticMemberPointerUpcast()
|
D | SemaExceptionSpec.cpp | 722 if (!IsDerivedFrom(SubLoc, CanonicalSubT, CanonicalSuperT, Paths)) in CheckExceptionSpecSubset()
|
D | SemaInit.cpp | 3792 S.IsDerivedFrom(InitList->getLocStart(), InitType, DestType)) { in TryListInitialization() 5132 S.IsDerivedFrom(Initializer->getLocStart(), SourceType, DestType)))) in InitializeFrom() 5161 S.IsDerivedFrom(Initializer->getLocStart(), SourceType, in InitializeFrom() 6546 S.IsDerivedFrom(Loc, SourceType, Class)) in Perform()
|
D | SemaDeclCXX.cpp | 1668 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base) { in IsDerivedFrom() function in Sema 1695 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base, in IsDerivedFrom() function in Sema 1763 bool DerivationOkay = IsDerivedFrom(Loc, Derived, Base, Paths); in CheckDerivedToBaseConversion() 1797 bool StillOkay = IsDerivedFrom(Loc, Derived, Base, Paths); in CheckDerivedToBaseConversion() 2771 if (SemaRef.IsDerivedFrom(ClassDecl->getLocation(), in FindBaseInitializer() 7270 else if (IsDerivedFrom(Conversion->getLocation(), ClassType, ConvType)) in ActOnConversionDeclarator() 13221 if (!IsDerivedFrom(New->getLocation(), NewClassTy, OldClassTy)) { in CheckOverridingFunctionReturnType()
|
D | SemaExprCXX.cpp | 4846 if (!IsDerivedFrom(Loc, LHSType, Class)) { in CheckPointerToMemberOperands() 4978 Self.IsDerivedFrom(QuestionLoc, FTy, TTy); in TryClassUnification() 4980 Self.IsDerivedFrom(QuestionLoc, TTy, FTy))) { in TryClassUnification()
|
D | SemaTemplateDeduction.cpp | 2742 S.IsDerivedFrom(SourceLocation(), A, DeducedA)) in CheckOriginalCallArgDeduction()
|
D | SemaExpr.cpp | 2657 if (IsDerivedFrom(FromLoc, FromRecordType, QRecordType)) { in PerformObjectMemberConversion() 2693 assert(IsDerivedFrom(FromLoc, FromRecordType, URecordType)); in PerformObjectMemberConversion() 11839 if (IsDerivedFrom(OC.LocStart, CurrentType, Context.getTypeDeclType(Parent), in BuildBuiltinOffsetOf()
|
D | SemaOpenMP.cpp | 8962 SemaRef.IsDerivedFrom(Loc, Ty, D->getType()) && in buildDeclareReductionRef() 8969 if (SemaRef.IsDerivedFrom(Loc, Ty, VD->getType(), Paths)) { in buildDeclareReductionRef()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 44 if ((FromUnq == ToUnq || (S.IsDerivedFrom(Loc, FromUnq, ToUnq)) ) && in compareTypesSimple()
|
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() 3436 S.IsDerivedFrom(From->getBeginLoc(), From->getType(), ToType))) in IsUserDefinedConversion() 4035 if (S.IsDerivedFrom(Loc, FromPointee2, FromPointee1)) in CompareStandardConversionSequences() 4037 else if (S.IsDerivedFrom(Loc, FromPointee1, FromPointee2)) in CompareStandardConversionSequences() 4326 if (S.IsDerivedFrom(Loc, ToPointee1, ToPointee2)) in CompareDerivedToBaseConversions() 4328 else if (S.IsDerivedFrom(Loc, ToPointee2, ToPointee1)) in CompareDerivedToBaseConversions() [all …]
|
D | SemaCast.cpp | 862 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { in CheckDynamicCast() 1406 if (!Self.IsDerivedFrom(SrcExpr->getBeginLoc(), SrcExpr->getType(), in TryLValueToRValueCast() 1507 if (!Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths)) { in TryStaticDowncast() 1543 Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths); in TryStaticDowncast() 1648 if (!Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths)) in TryStaticMemberPointerUpcast() 1656 Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths); in TryStaticMemberPointerUpcast()
|
D | SemaExprCXX.cpp | 5655 if (!IsDerivedFrom(Loc, LHSType, Class)) { in CheckPointerToMemberOperands() 5797 Self.IsDerivedFrom(QuestionLoc, FTy, TTy); in TryClassUnification() 5799 Self.IsDerivedFrom(QuestionLoc, TTy, FTy))) { in TryClassUnification() 6619 Class = IsDerivedFrom(Loc, Cls1, Cls2) ? MemPtr1->getClass() : in FindCompositePointerType() 6620 IsDerivedFrom(Loc, Cls2, Cls1) ? MemPtr2->getClass() : nullptr; in FindCompositePointerType() 6719 else if (IsDerivedFrom(Loc, Composite1, Composite2)) in FindCompositePointerType() 6721 else if (IsDerivedFrom(Loc, Composite2, Composite1)) in FindCompositePointerType()
|
D | SemaExceptionSpec.cpp | 735 if (!IsDerivedFrom(SourceLocation(), ExceptionType, HandlerType, Paths) || in handlerCanCatch()
|
D | SemaDeclCXX.cpp | 2781 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base) { in IsDerivedFrom() function in Sema 2808 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base, in IsDerivedFrom() function in Sema 2878 bool DerivationOkay = IsDerivedFrom(Loc, Derived, Base, Paths); in CheckDerivedToBaseConversion() 2930 bool StillOkay = IsDerivedFrom(Loc, Derived, Base, Paths); in CheckDerivedToBaseConversion() 4039 if (SemaRef.IsDerivedFrom(ClassDecl->getLocation(), in FindBaseInitializer() 10641 else if (IsDerivedFrom(Conversion->getLocation(), ClassType, ConvType)) in ActOnConversionDeclarator() 16986 if (!IsDerivedFrom(New->getLocation(), NewClassTy, OldClassTy)) { in CheckOverridingFunctionReturnType()
|
D | SemaInit.cpp | 4335 S.IsDerivedFrom(InitList->getBeginLoc(), InitType, DestType)) { in TryListInitialization() 5858 S.IsDerivedFrom(Initializer->getBeginLoc(), SourceType, DestType)))) in InitializeFrom() 5892 S.IsDerivedFrom(Initializer->getBeginLoc(), SourceType, in InitializeFrom()
|
D | SemaOpenMP.cpp | 14777 SemaRef.IsDerivedFrom(Loc, Ty, D->getType()) && in buildDeclareReductionRef() 14784 if (SemaRef.IsDerivedFrom(Loc, Ty, VD->getType(), Paths)) { in buildDeclareReductionRef() 17481 SemaRef.IsDerivedFrom(Loc, Type, D->getType()) && in buildUserDefinedMapperRef() 17488 if (SemaRef.IsDerivedFrom(Loc, Type, VD->getType(), Paths)) { in buildUserDefinedMapperRef()
|
D | SemaTemplateDeduction.cpp | 3519 S.IsDerivedFrom(Info.getLocation(), A, DeducedA)) in CheckOriginalCallArgDeduction()
|
D | SemaExpr.cpp | 3036 if (IsDerivedFrom(FromLoc, FromRecordType, QRecordType)) { in PerformObjectMemberConversion() 15066 if (IsDerivedFrom(OC.LocStart, CurrentType, Context.getTypeDeclType(Parent), in BuildBuiltinOffsetOf()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 469 TEST_P(ASTMatchersTest, IsDerivedFrom) { in TEST_P() argument
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 5498 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base); 5499 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base,
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 7032 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base); 7033 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base,
|