Home
last modified time | relevance | path

Searched refs:isDerivedFrom (Results 1 – 21 of 21) sorted by relevance

/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp39 DeclarationMatcher IsDerivedFromEmpty = cxxRecordDecl(isDerivedFrom("")); in TEST()
125 DeclarationMatcher IsDerivedFromX = cxxRecordDecl(isDerivedFrom("X")); in TEST()
142 cxxRecordDecl(hasName("Z"), isDerivedFrom("X")); in TEST()
261 cxxRecordDecl(isDerivedFrom(recordDecl(hasName("Some")))))); in TEST()
268 cxxRecordDecl(hasName("B"), isDerivedFrom(recordDecl(hasName("A")))))); in TEST()
285 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"))))))); in TEST()
289 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base2"))))))); in TEST()
293 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"), in TEST()
294 isDerivedFrom("Base2"))))))); in TEST()
310 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"))))))); in TEST()
[all …]
/external/clang/lib/AST/
DCXXInheritance.cpp76 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base) const { in isDerivedFrom() function in CXXRecordDecl
79 return isDerivedFrom(Base, Paths); in isDerivedFrom()
82 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base, in isDerivedFrom() function in CXXRecordDecl
DVTableBuilder.cpp264 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeBaseOffset()
1219 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeThisAdjustmentBaseOffset()
DExprCXX.cpp661 return !DestRD->isDerivedFrom(SrcRD); in isAlwaysNull()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/
DDOM2DTMdefaultNamespaceDeclarationNode.java125 public boolean isDerivedFrom( String ns, String localName, int derivationMethod ) { in isDerivedFrom() method in DOM2DTMdefaultNamespaceDeclarationNode
/external/doclava/src/com/google/doclava/
DClassInfo.java1033 public boolean isDerivedFrom(ClassInfo cl) { in isDerivedFrom() method in ClassInfo
1034 return isDerivedFrom(cl.qualifiedName()); in isDerivedFrom()
1038 public boolean isDerivedFrom(String qualifiedName) { in isDerivedFrom() method in ClassInfo
1044 if (dad.isDerivedFrom(qualifiedName)) { in isDerivedFrom()
1053 if (iface.isDerivedFrom(qualifiedName)) { in isDerivedFrom()
1311 } else if (cl.isDerivedFrom(this)) { in makeHDF()
DStubs.java1485 && !ex.isDerivedFrom("java.lang.RuntimeException")) { in writeThrowsApi()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1912 AST_MATCHER_P(CXXRecordDecl, isDerivedFrom, in AST_MATCHER_P() argument
1918 AST_MATCHER_P_OVERLOAD(CXXRecordDecl, isDerivedFrom, std::string, BaseName, 1) {
1920 return isDerivedFrom(hasName(BaseName)).matches(Node, Finder, Builder);
1927 return Matcher<CXXRecordDecl>(anyOf(Base, isDerivedFrom(Base)))
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp325 if (MRClass->isDerivedFrom(TargetClass, Paths)) in evalDynamicCast()
DExprEngineCallAndReturn.cpp147 if (ActualClass->isDerivedFrom(ExpectedClass, Paths) && in adjustReturnValue()
DCallEvent.cpp497 assert(!RD->isDerivedFrom(MD->getParent()) && "Couldn't find known method"); in getRuntimeDefinition()
/external/clang/docs/
DLibASTMatchers.rst39 "``Bar``": ``recordDecl(hasName("Foo"), isDerivedFrom("Bar"))``.
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp90 REGISTER_OVERLOADED_2(isDerivedFrom); in RegistryMaps()
/external/clang/include/clang/AST/
DDeclCXX.h1427 bool isDerivedFrom(const CXXRecordDecl *Base) const;
1445 bool isDerivedFrom(const CXXRecordDecl *Base, CXXBasePaths &Paths) const;
/external/clang/lib/Sema/
DSemaCast.cpp773 if (SrcRD->isDerivedFrom(DestRD, BasePaths)) in DiagnoseReinterpretUpDownCast()
775 else if (DestRD->isDerivedFrom(SrcRD, BasePaths)) in DiagnoseReinterpretUpDownCast()
DSemaAccess.cpp941 bool isDerived = Derived->isDerivedFrom(const_cast<CXXRecordDecl*>(Base), in FindBestPath()
DSemaDeclCXX.cpp1634 = Class->isDerivedFrom(CanonicalBase->getAsCXXRecordDecl(), Paths); in AttachBaseSpecifiers()
1690 return DerivedRD->isDerivedFrom(BaseRD); in IsDerivedFrom()
1711 return DerivedRD->isDerivedFrom(BaseRD, Paths); in IsDerivedFrom()
DSemaLookup.cpp4827 if (!CurRD || (CurRD != RD && !CurRD->isDerivedFrom(RD))) in ValidateCandidate()
DSemaExprCXX.cpp4253 ->isDerivedFrom(cast<CXXRecordDecl>(lhsRecord->getDecl())); in EvaluateBinaryTypeTrait()
/external/v8/tools/gcmole/
Dgcmole.cc1077 return (record == base) || record->isDerivedFrom(base); in IsDerivedFrom()
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp1152 if (!Dst->isDerivedFrom(Src, Paths)) in computeOffsetHint()