Home
last modified time | relevance | path

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

123

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DOSObjectCStyleCast.cpp69 auto OSObjTypeM = hasTypePointingTo(cxxRecordDecl(isDerivedFrom("OSMetaClassBase"))); in checkASTCodeBody()
71 cxxRecordDecl(isDerivedFrom("OSObject"))); in checkASTCodeBody()
DDeleteWithNonVirtualDtorChecker.cpp85 if (!DerivedClass->isDerivedFrom(BaseClass)) in checkPreStmt()
/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/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp293 cxxRecordDecl(isDerivedFrom("Y"), unless(hasName("X"))); in TEST_P()
438 anyOf(hasName("Y"), allOf(isDerivedFrom("X"), hasName("Z")))); in TEST_P()
474 DeclarationMatcher IsDerivedFromX = cxxRecordDecl(isDerivedFrom("X")); in TEST_P()
487 cxxRecordDecl(hasName("Z"), isDerivedFrom("X")); in TEST_P()
513 cxxRecordDecl(hasName("Z"), isDerivedFrom("X")); in TEST_P()
637 cxxRecordDecl(isDerivedFrom(recordDecl(hasName("Some")))))); in TEST_P()
644 cxxRecordDecl(hasName("B"), isDerivedFrom(recordDecl(hasName("A")))))); in TEST_P()
669 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"))))))); in TEST_P()
673 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base2"))))))); in TEST_P()
678 isDerivedFrom("Base1"), isDerivedFrom("Base2"))))))); in TEST_P()
[all …]
/external/skia/modules/particles/include/
DSkReflected.h54 bool isDerivedFrom(const Type* t) const { in isDerivedFrom() function
75 return thisType == t || thisType->isDerivedFrom(t); in isOfType()
/external/llvm-project/clang-tools-extra/clang-tidy/objc/
DForbiddenSubclassingCheck.cpp54 isDerivedFrom( in registerMatchers()
DSuperSelfCheck.cpp83 isDerivedFrom(hasName("NSObject")))))))) in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DUndelegatedConstructorCheck.cpp45 return Derived != &Node && !Derived->isDerivedFrom(&Node); in AST_MATCHER_P()
DParentVirtualCallCheck.cpp55 if (RecordDeclType->getCanonicalDecl()->isDerivedFrom(&GrandParent)) in getParentsByGrandParent()
DVirtualNearMissCheck.cpp88 if (!DRD->isDerivedFrom(BRD, Paths)) in checkOverridingFunctionReturnType()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DSlicingCheck.cpp40 cxxRecordDecl(isDerivedFrom(equalsBoundNode("BaseDecl"))) in registerMatchers()
/external/llvm-project/clang/lib/AST/
DCXXInheritance.cpp68 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base) const { in isDerivedFrom() function in CXXRecordDecl
71 return isDerivedFrom(Base, Paths); in isDerivedFrom()
74 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base, in isDerivedFrom() function in CXXRecordDecl
/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
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DStore.cpp345 if (MRClass->isDerivedFrom(TargetClass, Paths)) in attemptDownCast()
386 if (TargetClass && SourceClass && TargetClass->isDerivedFrom(SourceClass)) in attemptDownCast()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DInefficientVectorOperationCheck.cpp164 cxxRecordDecl(isDerivedFrom("::proto2::MessageLite")); in registerMatchers()
/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.java1088 public boolean isDerivedFrom(ClassInfo cl) { in isDerivedFrom() method in ClassInfo
1089 return isDerivedFrom(cl.qualifiedName()); in isDerivedFrom()
1093 public boolean isDerivedFrom(String qualifiedName) { in isDerivedFrom() method in ClassInfo
1099 if (dad.isDerivedFrom(qualifiedName)) { in isDerivedFrom()
1108 if (iface.isDerivedFrom(qualifiedName)) { in isDerivedFrom()
1369 } else if (cl.isDerivedFrom(this)) { in makeHDF()
/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()
/external/skia/tools/viewer/
DParticlesSlide.cpp119 if (t->fFactory && (t == baseType || t->isDerivedFrom(baseType)) && in visit()
/external/llvm-project/clang/docs/
DLibASTMatchers.rst39 "``Bar``": ``recordDecl(hasName("Foo"), isDerivedFrom("Bar"))``.
/external/clang/docs/
DLibASTMatchers.rst39 "``Bar``": ``recordDecl(hasName("Foo"), isDerivedFrom("Bar"))``.
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h2943 isDerivedFrom, in AST_POLYMORPHIC_MATCHER_P() argument
2958 isDerivedFrom,
2964 const auto M = isDerivedFrom(hasName(BaseName));
3019 const auto M = anyOf(Base, isDerivedFrom(Base));

123