Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaFixItUtils.cpp45 if ((FromUnq == ToUnq || (S.IsDerivedFrom(FromUnq, ToUnq)) ) && in compareTypesSimple()
DSemaCast.cpp635 if (DestRecord && Self.IsDerivedFrom(SrcPointee, DestPointee)) { in CheckDynamicCast()
996 if (!Self.IsDerivedFrom(SrcExpr->getType(), R->getPointeeType(), Paths)) in TryLValueToRValueCast()
1093 if (!Self.IsDerivedFrom(DestType, SrcType, Paths)) { in TryStaticDowncast()
1129 Self.IsDerivedFrom(DestType, SrcType, Paths); in TryStaticDowncast()
1230 if (!Self.IsDerivedFrom(SrcClass, DestClass, Paths)) { in TryStaticMemberPointerUpcast()
1238 bool StillOkay = Self.IsDerivedFrom(SrcClass, DestClass, Paths); in TryStaticMemberPointerUpcast()
DSemaOverload.cpp1144 (FromCanon == ToCanon || S.IsDerivedFrom(FromCanon, ToCanon))) { in TryUserDefinedConversion()
1238 S.IsDerivedFrom(FromType, ToType))) { in TryImplicitConversion()
2114 IsDerivedFrom(FromPointeeType, ToPointeeType)) { in IsPointerConversion()
2747 IsDerivedFrom(ToClass, FromClass)) { in IsMemberPointerConversion()
2790 bool DerivationOkay = IsDerivedFrom(ToClass, FromClass, Paths); in CheckMemberPointerConversion()
3048 S.IsDerivedFrom(From->getType(), ToType))) in IsUserDefinedConversion()
3536 if (S.IsDerivedFrom(FromPointee2, FromPointee1)) in CompareStandardConversionSequences()
3538 else if (S.IsDerivedFrom(FromPointee1, FromPointee2)) in CompareStandardConversionSequences()
3790 if (S.IsDerivedFrom(ToPointee1, ToPointee2)) in CompareDerivedToBaseConversions()
3792 else if (S.IsDerivedFrom(ToPointee2, ToPointee1)) in CompareDerivedToBaseConversions()
[all …]
DSemaExceptionSpec.cpp683 if (!IsDerivedFrom(CanonicalSubT, CanonicalSuperT, Paths)) in CheckExceptionSpecSubset()
DSemaDeclCXX.cpp1325 bool Sema::IsDerivedFrom(QualType Derived, QualType Base) { in IsDerivedFrom() function in Sema
1343 bool Sema::IsDerivedFrom(QualType Derived, QualType Base, CXXBasePaths &Paths) { in IsDerivedFrom() function in Sema
1414 bool DerivationOkay = IsDerivedFrom(Derived, Base, Paths); in CheckDerivedToBaseConversion()
1447 bool StillOkay = IsDerivedFrom(Derived, Base, Paths); in CheckDerivedToBaseConversion()
2055 if (SemaRef.IsDerivedFrom(SemaRef.Context.getTypeDeclType(ClassDecl), in FindBaseInitializer()
5986 else if (IsDerivedFrom(ClassType, ConvType)) in ActOnConversionDeclarator()
11197 if (!IsDerivedFrom(NewClassTy, OldClassTy)) { in CheckOverridingFunctionReturnType()
DSemaExprCXX.cpp3854 if (!IsDerivedFrom(LHSType, Class, Paths) || in CheckPointerToMemberOperands()
3978 Self.IsDerivedFrom(FTy, TTy); in TryClassUnification()
3980 (FRec == TRec || FDerivedFromT || Self.IsDerivedFrom(TTy, FTy))) { in TryClassUnification()
DSemaInit.cpp4226 S.IsDerivedFrom(SourceType, DestType)))) in InitializationSequence()
5163 S.IsDerivedFrom(SourceType, Class)) in Perform()
DSemaTemplateDeduction.cpp2543 S.IsDerivedFrom(A, DeducedA)) in CheckOriginalCallArgDeduction()
DSemaExpr.cpp2211 if (IsDerivedFrom(FromRecordType, QRecordType)) { in PerformObjectMemberConversion()
2247 assert(IsDerivedFrom(FromRecordType, URecordType)); in PerformObjectMemberConversion()
9368 if (IsDerivedFrom(CurrentType, Context.getTypeDeclType(Parent), Paths)) { in BuildBuiltinOffsetOf()
/external/v8/tools/gcmole/
Dgcmole.cc1093 bool IsDerivedFrom(clang::CXXRecordDecl* record, in IsDerivedFrom() function in __anon40ad6a050111::FunctionAnalyzer
1117 return IsDerivedFrom(record, object_decl_) && in IsRawPointerType()
1118 !IsDerivedFrom(record, smi_decl_); in IsRawPointerType()
/external/clang/include/clang/Sema/
DSema.h4587 bool IsDerivedFrom(QualType Derived, QualType Base);
4588 bool IsDerivedFrom(QualType Derived, QualType Base, CXXBasePaths &Paths);