| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | UseAnyOfAllOfCheck.cpp | 54 cxxForRangeStmt( in registerMatchers() 64 cxxForRangeStmt( in registerMatchers()
|
| H A D | RedundantControlFlowCheck.cpp | 41 mapAnyOf(forStmt, cxxForRangeStmt, whileStmt, doStmt) in registerMatchers()
|
| H A D | BracesAroundStatementsCheck.cpp | 112 Finder->addMatcher(cxxForRangeStmt().bind("for-range"), this); in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 370 const auto AsNonConstRefRangeInit = cxxForRangeStmt( in findDirectMutation() 459 match(findAll(stmt(cxxForRangeStmt( in findRangeLoopMutation() 491 match(findAll(stmt(cxxForRangeStmt(allOf( in findRangeLoopMutation() 504 match(findAll(cxxForRangeStmt( in findRangeLoopMutation() 540 cxxForRangeStmt(hasRangeStmt(equalsBoundNode("stmt")))))))) in findReferenceMutation()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | TerminatingContinueCheck.cpp | 30 hasAncestor(stmt(anyOf(forStmt(), whileStmt(), cxxForRangeStmt(), in registerMatchers()
|
| H A D | UnusedReturnValueCheck.cpp | 158 auto UnusedInRangeForStmt = cxxForRangeStmt(hasBody(MatchedCallExpr)); in registerMatchers()
|
| H A D | SuspiciousSemicolonCheck.cpp | 26 cxxForRangeStmt(hasBody(nullStmt().bind("semi"))), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | AvoidGotoCheck.cpp | 32 auto Loop = mapAnyOf(forStmt, cxxForRangeStmt, whileStmt, doStmt); in registerMatchers()
|
| H A D | ProBoundsArrayToPointerDecayCheck.cpp | 30 return stmt(hasAncestor(cxxForRangeStmt( in AST_MATCHER()
|
| H A D | InitVariablesCheck.cpp | 46 cxxForRangeStmt(hasLoopVariable(varDecl().bind(BadDecl))))))), in registerMatchers()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersTraversalTest.cpp | 3147 auto M = cxxForRangeStmt(has(declStmt())); in TEST() 3164 auto M = cxxForRangeStmt(hasBody(stmt())); in TEST() 3169 auto M = cxxForRangeStmt(hasDescendant(ifStmt())); in TEST() 3191 auto M = cxxForRangeStmt(has(compoundStmt())); in TEST() 3226 auto M = cxxForRangeStmt( in TEST() 3232 auto M = cxxForRangeStmt(hasDescendant(varDecl( in TEST() 3238 auto M = cxxForRangeStmt(hasRangeInit(declRefExpr( in TEST() 3245 auto M = cxxForRangeStmt(hasRangeInit(declRefExpr( in TEST() 3328 auto M = cxxForRangeStmt( in TEST() 3341 auto M = cxxForRangeStmt( in TEST() [all …]
|
| H A D | ASTMatchersNodeTest.cpp | 366 notMatches("void f() { for (int i; i<5; ++i); }", cxxForRangeStmt())); in TEST_P() 375 cxxForRangeStmt())); in TEST_P()
|
| H A D | ASTMatchersNarrowingTest.cpp | 1900 cxxForRangeStmt(hasInitStatement(anything())))); in TEST_P() 1905 cxxForRangeStmt(hasInitStatement(anything())))); in TEST_P()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | ImplicitConversionInLoopCheck.cpp | 52 cxxForRangeStmt(hasLoopVariable( in registerMatchers()
|
| H A D | InefficientStringConcatenationCheck.cpp | 61 hasAncestor(stmt(anyOf(cxxForRangeStmt(), in registerMatchers()
|
| H A D | ForRangeCopyCheck.cpp | 58 cxxForRangeStmt(hasLoopVariable(LoopVar.bind("loopVar"))) in registerMatchers()
|
| H A D | UnnecessaryValueParamCheck.cpp | 48 unless(hasAncestor(stmt(anyOf(forStmt(), cxxForRangeStmt(), in hasLoopStmtAncestor()
|
| H A D | InefficientVectorOperationCheck.cpp | 151 cxxForRangeStmt( in addMatcher()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | PointerIterationChecker.cpp | 74 auto PointerIterM = stmt(cxxForRangeStmt( in matchUnorderedIterWithPointers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/ |
| H A D | UnrollLoopsCheck.cpp | 33 cxxForRangeStmt(anyOf(HasLoopBound, unless(HasLoopBound))); in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 195 REGISTER_MATCHER(cxxForRangeStmt); in RegistryMaps()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 897 cxxForRangeStmt; variable
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 2129 cxxForRangeStmt;
|