Home
last modified time | relevance | path

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

/external/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp156 isDerivedFrom("Y"), in TEST()
294 anyOf(hasName("Y"), allOf(isDerivedFrom("X"), hasName("Z")))); in TEST()
327 DeclarationMatcher IsDerivedFromX = cxxRecordDecl(isDerivedFrom("X")); in TEST()
344 cxxRecordDecl(hasName("Z"), isDerivedFrom("X")); in TEST()
463 cxxRecordDecl(isDerivedFrom(recordDecl(hasName("Some")))))); in TEST()
470 cxxRecordDecl(hasName("B"), isDerivedFrom(recordDecl(hasName("A")))))); in TEST()
487 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"))))))); in TEST()
491 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base2"))))))); in TEST()
495 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"), in TEST()
496 isDerivedFrom("Base2"))))))); in TEST()
[all …]
DASTMatchersInternalTest.cpp39 DeclarationMatcher IsDerivedFromEmpty = cxxRecordDecl(isDerivedFrom("")); in TEST()
DASTMatchersTraversalTest.cpp36 cxxRecordDecl(hasName("B"), isDerivedFrom(recordDecl())))); in TEST()
154 hasDeclaration(cxxRecordDecl(isDerivedFrom("A"))); in TEST()
1487 cxxRecordDecl(decl().bind("x"), isDerivedFrom("::A")), in TEST()
1492 cxxRecordDecl(decl().bind("x"), isDerivedFrom("C")), in TEST()
/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.cpp590 return !DestRD->isDerivedFrom(SrcRD); in isAlwaysNull()
/external/doclava/src/com/google/doclava/
DClassInfo.java1089 public boolean isDerivedFrom(ClassInfo cl) { in isDerivedFrom() method in ClassInfo
1090 return isDerivedFrom(cl.qualifiedName()); in isDerivedFrom()
1094 public boolean isDerivedFrom(String qualifiedName) { in isDerivedFrom() method in ClassInfo
1100 if (dad.isDerivedFrom(qualifiedName)) { in isDerivedFrom()
1109 if (iface.isDerivedFrom(qualifiedName)) { in isDerivedFrom()
1370 } else if (cl.isDerivedFrom(this)) { in makeHDF()
DStubs.java1835 && !ex.isDerivedFrom("java.lang.RuntimeException")) {
/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.h2188 AST_MATCHER_P(CXXRecordDecl, isDerivedFrom, in AST_MATCHER_P() argument
2194 AST_MATCHER_P_OVERLOAD(CXXRecordDecl, isDerivedFrom, std::string, BaseName, 1) {
2196 return isDerivedFrom(hasName(BaseName)).matches(Node, Finder, Builder);
2203 return Matcher<CXXRecordDecl>(anyOf(Base, isDerivedFrom(Base)))
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp325 if (MRClass->isDerivedFrom(TargetClass, Paths)) in evalDynamicCast()
DExprEngineCallAndReturn.cpp150 if (ActualClass->isDerivedFrom(ExpectedClass, Paths) && in adjustReturnValue()
DCallEvent.cpp507 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.h1447 bool isDerivedFrom(const CXXRecordDecl *Base) const;
1465 bool isDerivedFrom(const CXXRecordDecl *Base, CXXBasePaths &Paths) const;
/external/clang/lib/Sema/
DSemaCast.cpp774 if (SrcRD->isDerivedFrom(DestRD, BasePaths)) in DiagnoseReinterpretUpDownCast()
776 else if (DestRD->isDerivedFrom(SrcRD, BasePaths)) in DiagnoseReinterpretUpDownCast()
DSemaAccess.cpp936 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.cpp4918 if (!CurRD || (CurRD != RD && !CurRD->isDerivedFrom(RD))) in ValidateCandidate()
DSemaOverload.cpp8661 if (Cand1Class->isDerivedFrom(Cand2Class)) in isBetterOverloadCandidate()
8663 if (Cand2Class->isDerivedFrom(Cand1Class)) in isBetterOverloadCandidate()
DSemaExprCXX.cpp4513 ->isDerivedFrom(cast<CXXRecordDecl>(lhsRecord->getDecl())); in EvaluateBinaryTypeTrait()
/external/v8/tools/gcmole/
Dgcmole.cc1109 return (record == base) || record->isDerivedFrom(base); in IsDerivedFrom()
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp1145 if (!Dst->isDerivedFrom(Src, Paths)) in computeOffsetHint()