Home
last modified time | relevance | path

Searched refs:cxxForRangeStmt (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DUseAnyOfAllOfCheck.cpp54 cxxForRangeStmt( in registerMatchers()
64 cxxForRangeStmt( in registerMatchers()
H A DRedundantControlFlowCheck.cpp41 mapAnyOf(forStmt, cxxForRangeStmt, whileStmt, doStmt) in registerMatchers()
H A DBracesAroundStatementsCheck.cpp112 Finder->addMatcher(cxxForRangeStmt().bind("for-range"), this); in registerMatchers()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp370 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 DTerminatingContinueCheck.cpp30 hasAncestor(stmt(anyOf(forStmt(), whileStmt(), cxxForRangeStmt(), in registerMatchers()
H A DUnusedReturnValueCheck.cpp158 auto UnusedInRangeForStmt = cxxForRangeStmt(hasBody(MatchedCallExpr)); in registerMatchers()
H A DSuspiciousSemicolonCheck.cpp26 cxxForRangeStmt(hasBody(nullStmt().bind("semi"))), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DAvoidGotoCheck.cpp32 auto Loop = mapAnyOf(forStmt, cxxForRangeStmt, whileStmt, doStmt); in registerMatchers()
H A DProBoundsArrayToPointerDecayCheck.cpp30 return stmt(hasAncestor(cxxForRangeStmt( in AST_MATCHER()
H A DInitVariablesCheck.cpp46 cxxForRangeStmt(hasLoopVariable(varDecl().bind(BadDecl))))))), in registerMatchers()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersTraversalTest.cpp3147 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 DASTMatchersNodeTest.cpp366 notMatches("void f() { for (int i; i<5; ++i); }", cxxForRangeStmt())); in TEST_P()
375 cxxForRangeStmt())); in TEST_P()
H A DASTMatchersNarrowingTest.cpp1900 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 DImplicitConversionInLoopCheck.cpp52 cxxForRangeStmt(hasLoopVariable( in registerMatchers()
H A DInefficientStringConcatenationCheck.cpp61 hasAncestor(stmt(anyOf(cxxForRangeStmt(), in registerMatchers()
H A DForRangeCopyCheck.cpp58 cxxForRangeStmt(hasLoopVariable(LoopVar.bind("loopVar"))) in registerMatchers()
H A DUnnecessaryValueParamCheck.cpp48 unless(hasAncestor(stmt(anyOf(forStmt(), cxxForRangeStmt(), in hasLoopStmtAncestor()
H A DInefficientVectorOperationCheck.cpp151 cxxForRangeStmt( in addMatcher()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DPointerIterationChecker.cpp74 auto PointerIterM = stmt(cxxForRangeStmt( in matchUnorderedIterWithPointers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/
H A DUnrollLoopsCheck.cpp33 cxxForRangeStmt(anyOf(HasLoopBound, unless(HasLoopBound))); in registerMatchers()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp195 REGISTER_MATCHER(cxxForRangeStmt); in RegistryMaps()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp897 cxxForRangeStmt; variable
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2129 cxxForRangeStmt;