HomeSort by: relevance | last modified time | path
    Searched refs:isDerivedFrom (Results 1 - 22 of 22) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
OSObjectCStyleCast.cpp 101 hasTypePointingTo(cxxRecordDecl(isDerivedFrom("OSMetaClassBase")));
103 cxxRecordDecl(isDerivedFrom("OSObject")).bind(WarnRecordDecl));
DeleteWithNonVirtualDtorChecker.cpp 85 if (!DerivedClass->isDerivedFrom(BaseClass))
  /src/external/apache2/llvm/dist/clang/lib/Tooling/DumpTool/
ASTSrcLocProcessor.cpp 36 optionally(isDerivedFrom(cxxRecordDecl().bind("derivedFrom"))))
156 optionally(isDerivedFrom(
159 optionally(isDerivedFrom(
162 isDerivedFrom(cxxRecordDecl(hasName("clang::TypeLoc"))
  /src/external/apache2/llvm/dist/clang/lib/AST/
CXXInheritance.cpp 68 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base) const {
71 return isDerivedFrom(Base, Paths);
74 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base,
VTableBuilder.cpp 263 if (!DerivedRD->isDerivedFrom(BaseRD, Paths))
1216 if (!DerivedRD->isDerivedFrom(BaseRD, Paths))
ExprCXX.cpp 787 return !DestRD->isDerivedFrom(SrcRD);
ExprConstant.cpp 3110 if (!DerivedRD->isDerivedFrom(BaseRD, Paths))
5784 DynType->Type->isDerivedFrom(C)))
5820 if (DynType->Type->isDerivedFrom(C, Paths) && !Paths.isAmbiguous(CQT) &&
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
Store.cpp 345 if (MRClass->isDerivedFrom(TargetClass, Paths))
386 if (TargetClass && SourceClass && TargetClass->isDerivedFrom(SourceClass))
ExprEngineCallAndReturn.cpp 152 if (ActualClass->isDerivedFrom(ExpectedClass, Paths) &&
CallEvent.cpp 755 assert(!RD->isDerivedFrom(MD->getParent()) && "Couldn't find known method");
762 //assert(!MD->getParent()->isDerivedFrom(RD) && "Bad DynamicTypeInfo");
  /src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
ASTMatchers.h 3151 /// In the following example, Bar matches isDerivedFrom(hasName("X")):
3158 /// In the following example, Bar matches isDerivedFrom(hasName("NSObject"))
3166 isDerivedFrom,
3179 /// Overloaded method as shortcut for \c isDerivedFrom(hasName(...)).
3181 isDerivedFrom,
3187 const auto M = isDerivedFrom(hasName(BaseName));
3210 // FIXME: Refactor this and isDerivedFrom to reuse implementation.
3236 /// Similar to \c isDerivedFrom(), but also matches classes that directly
3242 const auto M = anyOf(Base, isDerivedFrom(Base));
3284 /// In the following example, Bar matches isDerivedFrom(hasName("X"))
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
Registry.cpp 113 REGISTER_OVERLOADED_2(isDerivedFrom);
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
DeclCXX.h 1512 bool isDerivedFrom(const CXXRecordDecl *Base) const;
1528 /// \todo add a separate parameter to configure IsDerivedFrom, rather than
1530 bool isDerivedFrom(const CXXRecordDecl *Base, CXXBasePaths &Paths) const;
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaAccess.cpp 949 bool isDerived = Derived->isDerivedFrom(const_cast<CXXRecordDecl*>(Base),
SemaCast.cpp 863 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) {
976 if (SrcRD->isDerivedFrom(DestRD, BasePaths))
978 else if (DestRD->isDerivedFrom(SrcRD, BasePaths))
1502 if (!Self.IsDerivedFrom(SrcExpr->getBeginLoc(), SrcExpr->getType(),
1603 if (!Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths)) {
1639 Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths);
1744 if (!Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths))
1752 Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths);
SemaLookup.cpp 5293 if (!CurRD || (CurRD != RD && !CurRD->isDerivedFrom(RD)))
SemaDeclCXX.cpp 2772 = Class->isDerivedFrom(CanonicalBase->getAsCXXRecordDecl(), Paths);
2806 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base) {
2828 return DerivedRD->isDerivedFrom(BaseRD);
2833 bool Sema::IsDerivedFrom(SourceLocation Loc, QualType Derived, QualType Base,
2849 return DerivedRD->isDerivedFrom(BaseRD, Paths);
2903 bool DerivationOkay = IsDerivedFrom(Loc, Derived, Base, Paths);
2955 bool StillOkay = IsDerivedFrom(Loc, Derived, Base, Paths);
4064 if (SemaRef.IsDerivedFrom(ClassDecl->getLocation(),
10720 else if (IsDerivedFrom(Conversion->getLocation(), ClassType, ConvType))
17062 if (!IsDerivedFrom(New->getLocation(), NewClassTy, OldClassTy))
    [all...]
SemaExprCXX.cpp 5380 ->isDerivedFrom(cast<CXXRecordDecl>(lhsRecord->getDecl()));
5727 if (!IsDerivedFrom(Loc, LHSType, Class)) {
5869 Self.IsDerivedFrom(QuestionLoc, FTy, TTy);
5871 Self.IsDerivedFrom(QuestionLoc, TTy, FTy))) {
6693 Class = IsDerivedFrom(Loc, Cls1, Cls2) ? MemPtr1->getClass() :
6694 IsDerivedFrom(Loc, Cls2, Cls1) ? MemPtr2->getClass() : nullptr;
6793 else if (IsDerivedFrom(Loc, Composite1, Composite2))
6795 else if (IsDerivedFrom(Loc, Composite2, Composite1))
SemaOverload.cpp 1362 S.IsDerivedFrom(From->getBeginLoc(), FromCanon, ToCanon))) {
1454 S.IsDerivedFrom(From->getBeginLoc(), FromType, ToType))) {
2469 IsDerivedFrom(From->getBeginLoc(), FromPointeeType, ToPointeeType)) {
3099 IsDerivedFrom(From->getBeginLoc(), ToClass, FromClass)) {
3143 IsDerivedFrom(From->getBeginLoc(), ToClass, FromClass, Paths);
3433 S.IsDerivedFrom(From->getBeginLoc(), From->getType(), ToType)))
4036 if (S.IsDerivedFrom(Loc, FromPointee2, FromPointee1))
4038 else if (S.IsDerivedFrom(Loc, FromPointee1, FromPointee2))
4329 if (S.IsDerivedFrom(Loc, ToPointee1, ToPointee2))
4331 else if (S.IsDerivedFrom(Loc, ToPointee2, ToPointee1)
    [all...]
SemaCodeComplete.cpp 1669 !NamingClass->isDerivedFrom(Cls)) {
SemaExpr.cpp 3032 if (IsDerivedFrom(FromLoc, FromRecordType, QRecordType)) {
6302 CurParentClass->isDerivedFrom(NamingClass);
15185 if (IsDerivedFrom(OC.LocStart, CurrentType, Context.getTypeDeclType(Parent),
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
ItaniumCXXABI.cpp 1388 if (!Dst->isDerivedFrom(Src, Paths))

Completed in 114 milliseconds