/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | OSObjectCStyleCast.cpp | 69 auto OSObjTypeM = hasTypePointingTo(cxxRecordDecl(isDerivedFrom("OSMetaClassBase"))); in checkASTCodeBody() 71 cxxRecordDecl(isDerivedFrom("OSObject"))); in checkASTCodeBody()
|
D | DeleteWithNonVirtualDtorChecker.cpp | 85 if (!DerivedClass->isDerivedFrom(BaseClass)) in checkPreStmt()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 156 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 …]
|
D | ASTMatchersInternalTest.cpp | 39 DeclarationMatcher IsDerivedFromEmpty = cxxRecordDecl(isDerivedFrom("")); in TEST()
|
D | ASTMatchersTraversalTest.cpp | 36 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/ |
D | ASTMatchersNarrowingTest.cpp | 293 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/ |
D | SkReflected.h | 54 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/ |
D | ForbiddenSubclassingCheck.cpp | 54 isDerivedFrom( in registerMatchers()
|
D | SuperSelfCheck.cpp | 83 isDerivedFrom(hasName("NSObject")))))))) in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | UndelegatedConstructorCheck.cpp | 45 return Derived != &Node && !Derived->isDerivedFrom(&Node); in AST_MATCHER_P()
|
D | ParentVirtualCallCheck.cpp | 55 if (RecordDeclType->getCanonicalDecl()->isDerivedFrom(&GrandParent)) in getParentsByGrandParent()
|
D | VirtualNearMissCheck.cpp | 88 if (!DRD->isDerivedFrom(BRD, Paths)) in checkOverridingFunctionReturnType()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | SlicingCheck.cpp | 40 cxxRecordDecl(isDerivedFrom(equalsBoundNode("BaseDecl"))) in registerMatchers()
|
/external/llvm-project/clang/lib/AST/ |
D | CXXInheritance.cpp | 68 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/ |
D | CXXInheritance.cpp | 76 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/ |
D | Store.cpp | 345 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/ |
D | InefficientVectorOperationCheck.cpp | 164 cxxRecordDecl(isDerivedFrom("::proto2::MessageLite")); in registerMatchers()
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/ |
D | DOM2DTMdefaultNamespaceDeclarationNode.java | 125 public boolean isDerivedFrom( String ns, String localName, int derivationMethod ) { in isDerivedFrom() method in DOM2DTMdefaultNamespaceDeclarationNode
|
/external/doclava/src/com/google/doclava/ |
D | ClassInfo.java | 1088 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/ |
D | ASTMatchers.h | 2188 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/ |
D | Store.cpp | 325 if (MRClass->isDerivedFrom(TargetClass, Paths)) in evalDynamicCast()
|
/external/skia/tools/viewer/ |
D | ParticlesSlide.cpp | 119 if (t->fFactory && (t == baseType || t->isDerivedFrom(baseType)) && in visit()
|
/external/llvm-project/clang/docs/ |
D | LibASTMatchers.rst | 39 "``Bar``": ``recordDecl(hasName("Foo"), isDerivedFrom("Bar"))``.
|
/external/clang/docs/ |
D | LibASTMatchers.rst | 39 "``Bar``": ``recordDecl(hasName("Foo"), isDerivedFrom("Bar"))``.
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2943 isDerivedFrom, in AST_POLYMORPHIC_MATCHER_P() argument 2958 isDerivedFrom, 2964 const auto M = isDerivedFrom(hasName(BaseName)); 3019 const auto M = anyOf(Base, isDerivedFrom(Base));
|