Home
last modified time | relevance | path

Searched refs:forEachDescendant (Results 1 – 22 of 22) sorted by relevance

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DGCDAntipatternChecker.cpp98 forEachDescendant( in findGCDAntiPatternWithSemaphore()
100 forEachDescendant(binaryOperator(bindAssignmentToDecl(SemaphoreBinding), in findGCDAntiPatternWithSemaphore()
116 forEachDescendant( in findGCDAntiPatternWithSemaphore()
122 auto SemaphoreWaitM = forEachDescendant( in findGCDAntiPatternWithSemaphore()
140 forEachDescendant( in findGCDAntiPatternWithGroup()
142 forEachDescendant(binaryOperator(bindAssignmentToDecl(GroupBinding), in findGCDAntiPatternWithGroup()
145 auto GroupEnterM = forEachDescendant( in findGCDAntiPatternWithGroup()
162 forEachDescendant( in findGCDAntiPatternWithGroup()
168 auto GroupWaitM = forEachDescendant( in findGCDAntiPatternWithGroup()
DObjCAutoreleaseWriteChecker.cpp199 forEachDescendant( in checkASTCodeBody()
214 forEachDescendant(stmt(anyOf(WritesIntoM, CapturedInParamM)))) in checkASTCodeBody()
219 anyOf(forEachDescendant(BlockPassedToMarkedFuncM), in checkASTCodeBody()
220 forEachDescendant(WritesOrCapturesInPoolM))); in checkASTCodeBody()
DOSObjectCStyleCast.cpp77 auto Matches = match(stmt(forEachDescendant(CastM)), *D->getBody(), AM.getASTContext()); in checkASTCodeBody()
DPointerIterationChecker.cpp79 return decl(forEachDescendant(PointerIterM)); in matchUnorderedIterWithPointers()
DPointerSortingChecker.cpp93 return decl(forEachDescendant(PointerSortM)); in matchSortWithPointers()
DNumberObjectConversionChecker.cpp341 F.addMatcher(traverse(TK_AsIs, stmt(forEachDescendant(FinalM))), &CB); in checkASTCodeBody()
/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DMutatingCopyCheck.cpp61 anyOf(forEachDescendant(IsSourceMutatingAssignment), in registerMatchers()
62 forEachDescendant(IsSourceMutatingMemberCall))); in registerMatchers()
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp82 functionDecl(forEachDescendant( in TEST()
98 qualType(asString("int ***"), forEachDescendant(pointerType().bind("x"))), in TEST()
455 forEachDescendant(varDecl().bind("v")), in TEST()
456 forEachDescendant(callExpr(forEachArgumentWithParam( in TEST()
1367forEachDescendant(fieldDecl(hasName("x")).bind("x"))), in TEST()
1376 recordDecl(hasName("A"), anyOf(m, forEachDescendant(m))), in TEST()
1392 recordDecl(hasName("C"), forEachDescendant(fieldDecl().bind("f"))), in TEST()
1400 recordDecl(hasName("C"), forEachDescendant(recordDecl( in TEST()
1401 forEachDescendant(fieldDecl().bind("f"))))), in TEST()
1409 compoundStmt(forEachDescendant(ifStmt().bind("if")), in TEST()
[all …]
DASTMatchersNarrowingTest.cpp1873 forEachDescendant(varDecl(hasType( in TEST()
1887 hasName("f"), forEachDescendant(varDecl().bind("d")), in TEST()
1888 forEachDescendant(declRefExpr(to(decl(equalsBoundNode("d")))))), in TEST()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp81 functionDecl(forEachDescendant( in TEST()
97 qualType(asString("int ***"), forEachDescendant(pointerType().bind("x"))), in TEST()
738 forEachDescendant(varDecl().bind("v")), in TEST()
739 forEachDescendant(callExpr(forEachArgumentWithParam( in TEST()
856 forEachDescendant(varDecl().bind("v")), in TEST()
857 forEachDescendant(callExpr(forEachArgumentWithParamType( in TEST()
3407forEachDescendant(fieldDecl(hasName("x")).bind("x"))), in TEST()
3416 recordDecl(hasName("A"), anyOf(m, forEachDescendant(m))), in TEST()
3432 recordDecl(hasName("C"), forEachDescendant(fieldDecl().bind("f"))), in TEST()
3440 recordDecl(hasName("C"), forEachDescendant(recordDecl( in TEST()
[all …]
DASTMatchersNarrowingTest.cpp3170 forEachDescendant(varDecl(hasType(qualType(equalsBoundNode("type")))) in TEST_P()
3184 hasName("f"), forEachDescendant(varDecl().bind("d")), in TEST_P()
3185 forEachDescendant(declRefExpr(to(decl(equalsBoundNode("d")))))), in TEST_P()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSignalHandlerCheck.cpp130 auto Matches = match(decl(forEachDescendant(callExpr().bind("call"))), in check()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DDeclRefExprUtils.cpp102 decl(forEachDescendant( in allDeclRefExprs()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DUnnecessaryCopyInitialization.cpp62 forEachDescendant( in registerMatchers()
DUnnecessaryValueParamCheck.cpp46 decl(forEachDescendant(declRefExpr( in hasLoopStmtAncestor()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp185 REGISTER_MATCHER(forEachDescendant); in RegistryMaps()
/external/llvm-project/clang/unittests/AST/
DASTTraverserTest.cpp500 forEachDescendant(varDecl(hasName(varName)).bind("varDeclCtor"))), in TEST()
/external/llvm-project/clang/lib/Analysis/
DExprMutationAnalyzer.cpp522 stmt(forEachDescendant( in findReferenceMutation()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp233 REGISTER_MATCHER(forEachDescendant); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2330 LLVM_ATTRIBUTE_UNUSED forEachDescendant = {}; variable
2350 return eachOf(Matcher, forEachDescendant(Matcher)); in findAll()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp975 forEachDescendant = {}; variable
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h3222 forEachDescendant;
3242 return eachOf(Matcher, forEachDescendant(Matcher)); in findAll()