/external/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 45 if ((FromUnq == ToUnq || (S.IsDerivedFrom(FromUnq, ToUnq)) ) && in compareTypesSimple()
|
D | SemaCast.cpp | 635 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()
|
D | SemaOverload.cpp | 1144 (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 …]
|
D | SemaExceptionSpec.cpp | 683 if (!IsDerivedFrom(CanonicalSubT, CanonicalSuperT, Paths)) in CheckExceptionSpecSubset()
|
D | SemaDeclCXX.cpp | 1325 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()
|
D | SemaExprCXX.cpp | 3854 if (!IsDerivedFrom(LHSType, Class, Paths) || in CheckPointerToMemberOperands() 3978 Self.IsDerivedFrom(FTy, TTy); in TryClassUnification() 3980 (FRec == TRec || FDerivedFromT || Self.IsDerivedFrom(TTy, FTy))) { in TryClassUnification()
|
D | SemaInit.cpp | 4226 S.IsDerivedFrom(SourceType, DestType)))) in InitializationSequence() 5163 S.IsDerivedFrom(SourceType, Class)) in Perform()
|
D | SemaTemplateDeduction.cpp | 2543 S.IsDerivedFrom(A, DeducedA)) in CheckOriginalCallArgDeduction()
|
D | SemaExpr.cpp | 2211 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/ |
D | gcmole.cc | 1093 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/ |
D | Sema.h | 4587 bool IsDerivedFrom(QualType Derived, QualType Base); 4588 bool IsDerivedFrom(QualType Derived, QualType Base, CXXBasePaths &Paths);
|