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 = recordDecl(isDerivedFrom("")); in TEST()
125 DeclarationMatcher IsDerivedFromX = recordDecl(isDerivedFrom("X")); in TEST()
142 recordDecl(hasName("Z"), isDerivedFrom("X")); in TEST()
261 recordDecl(isDerivedFrom(recordDecl(hasName("Some")))))); in TEST()
268 recordDecl(hasName("B"), isDerivedFrom(recordDecl(hasName("A")))))); in TEST()
285 hasInitializer(hasType(recordDecl(isDerivedFrom("Base1"))))))); in TEST()
289 hasInitializer(hasType(recordDecl(isDerivedFrom("Base2"))))))); in TEST()
293 hasInitializer(hasType(recordDecl(isDerivedFrom("Base1"), in TEST()
294 isDerivedFrom("Base2"))))))); in TEST()
310 hasInitializer(hasType(recordDecl(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()
1231 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeThisAdjustmentBaseOffset()
DExprCXX.cpp668 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/clang/include/clang/ASTMatchers/
DASTMatchers.h1577 AST_MATCHER_P(CXXRecordDecl, isDerivedFrom, in AST_MATCHER_P() argument
1583 AST_MATCHER_P_OVERLOAD(CXXRecordDecl, isDerivedFrom, StringRef, BaseName, 1) {
1585 return isDerivedFrom(hasName(BaseName)).matches(Node, Finder, Builder);
1592 return Matcher<CXXRecordDecl>(anyOf(Base, isDerivedFrom(Base)))
/external/doclava/src/com/google/doclava/
DClassInfo.java1020 public boolean isDerivedFrom(ClassInfo cl) { in isDerivedFrom() method in ClassInfo
1021 return isDerivedFrom(cl.qualifiedName()); in isDerivedFrom()
1025 public boolean isDerivedFrom(String qualifiedName) { in isDerivedFrom() method in ClassInfo
1031 if (dad.isDerivedFrom(qualifiedName)) { in isDerivedFrom()
1040 if (iface.isDerivedFrom(qualifiedName)) { in isDerivedFrom()
1287 } else if (cl.isDerivedFrom(this)) { in makeHDF()
DStubs.java1327 && !ex.isDerivedFrom("java.lang.RuntimeException")) { in writeThrowsApi()
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp336 if (MRClass->isDerivedFrom(TargetClass, Paths)) in evalDynamicCast()
DCallEvent.cpp457 assert(!RD->isDerivedFrom(MD->getParent()) && "Couldn't find known method"); in getRuntimeDefinition()
DExprEngineCallAndReturn.cpp147 if (ActualClass->isDerivedFrom(ExpectedClass, Paths) && in adjustReturnValue()
/external/clang/docs/
DLibASTMatchers.rst39 "``Bar``": ``recordDecl(hasName("Foo"), isDerivedFrom("Bar"))``.
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp89 REGISTER_OVERLOADED_2(isDerivedFrom); in RegistryMaps()
/external/clang/include/clang/AST/
DDeclCXX.h1405 bool isDerivedFrom(const CXXRecordDecl *Base) const;
1423 bool isDerivedFrom(const CXXRecordDecl *Base, CXXBasePaths &Paths) const;
/external/clang/lib/Sema/
DSemaCast.cpp743 if (SrcRD->isDerivedFrom(DestRD, BasePaths)) in DiagnoseReinterpretUpDownCast()
745 else if (DestRD->isDerivedFrom(SrcRD, BasePaths)) in DiagnoseReinterpretUpDownCast()
DSemaAccess.cpp936 bool isDerived = Derived->isDerivedFrom(const_cast<CXXRecordDecl*>(Base), in FindBestPath()
DSemaLookup.cpp4533 if (!CurRD || (CurRD != RD && !CurRD->isDerivedFrom(RD))) in ValidateCandidate()
DSemaExprCXX.cpp3782 ->isDerivedFrom(cast<CXXRecordDecl>(lhsRecord->getDecl())); in EvaluateBinaryTypeTrait()
DSemaDeclCXX.cpp1634 return DerivedRD->hasDefinition() && DerivedRD->isDerivedFrom(BaseRD); in IsDerivedFrom()
1651 return DerivedRD->isDerivedFrom(BaseRD, Paths); in IsDerivedFrom()
/external/chromium_org/v8/tools/gcmole/
Dgcmole.cc1077 return (record == base) || record->isDerivedFrom(base); in IsDerivedFrom()
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp898 if (!Dst->isDerivedFrom(Src, Paths)) in computeOffsetHint()