Home
last modified time | relevance | path

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

/external/mdnsresponder/mDNSWindows/ControlPanel/
DControlPanel.cpp83 check( uiClass->IsDerivedFrom( RUNTIME_CLASS( CDialog ) ) || in CCPApplet()
84 uiClass->IsDerivedFrom( RUNTIME_CLASS( CPropertySheet ) ) ); in CCPApplet()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp45 if ((FromUnq == ToUnq || (S.IsDerivedFrom(Loc, FromUnq, ToUnq)) ) && in compareTypesSimple()
DSemaCast.cpp688 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()
DSemaExceptionSpec.cpp722 if (!IsDerivedFrom(SubLoc, CanonicalSubT, CanonicalSuperT, Paths)) in CheckExceptionSpecSubset()
DSemaInit.cpp3792 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()
DSemaDeclCXX.cpp1668 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()
DSemaExprCXX.cpp4846 if (!IsDerivedFrom(Loc, LHSType, Class)) { in CheckPointerToMemberOperands()
4978 Self.IsDerivedFrom(QuestionLoc, FTy, TTy); in TryClassUnification()
4980 Self.IsDerivedFrom(QuestionLoc, TTy, FTy))) { in TryClassUnification()
DSemaTemplateDeduction.cpp2742 S.IsDerivedFrom(SourceLocation(), A, DeducedA)) in CheckOriginalCallArgDeduction()
DSemaExpr.cpp2657 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()
DSemaOpenMP.cpp8962 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/
DSemaFixItUtils.cpp44 if ((FromUnq == ToUnq || (S.IsDerivedFrom(Loc, FromUnq, ToUnq)) ) && in compareTypesSimple()
DSemaOverload.cpp1362 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 …]
DSemaCast.cpp862 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()
DSemaExprCXX.cpp5655 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()
DSemaExceptionSpec.cpp735 if (!IsDerivedFrom(SourceLocation(), ExceptionType, HandlerType, Paths) || in handlerCanCatch()
DSemaDeclCXX.cpp2781 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()
DSemaInit.cpp4335 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()
DSemaOpenMP.cpp14777 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()
DSemaTemplateDeduction.cpp3519 S.IsDerivedFrom(Info.getLocation(), A, DeducedA)) in CheckOriginalCallArgDeduction()
DSemaExpr.cpp3036 if (IsDerivedFrom(FromLoc, FromRecordType, QRecordType)) { in PerformObjectMemberConversion()
15066 if (IsDerivedFrom(OC.LocStart, CurrentType, Context.getTypeDeclType(Parent), in BuildBuiltinOffsetOf()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp469 TEST_P(ASTMatchersTest, IsDerivedFrom) { in TEST_P() argument
/external/clang/include/clang/Sema/
DSema.h5498 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base);
5499 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base,
/external/llvm-project/clang/include/clang/Sema/
DSema.h7032 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base);
7033 bool IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base,