Home
last modified time | relevance | path

Searched refs:hasLoopVariable (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DImplicitConversionInLoopCheck.cpp52 cxxForRangeStmt(hasLoopVariable( in registerMatchers()
H A DForRangeCopyCheck.cpp58 cxxForRangeStmt(hasLoopVariable(LoopVar.bind("loopVar"))) in registerMatchers()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DPointerIterationChecker.cpp75 hasLoopVariable(PointerTypeM), in matchUnorderedIterWithPointers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DInitVariablesCheck.cpp46 cxxForRangeStmt(hasLoopVariable(varDecl().bind(BadDecl))))))), in registerMatchers()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp460 hasLoopVariable( in findRangeLoopMutation()
505 hasLoopVariable(varDecl(hasType(nonConstReferenceType())) in findRangeLoopMutation()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp328 REGISTER_MATCHER(hasLoopVariable); in RegistryMaps()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersTraversalTest.cpp2038 cxxForRangeStmt(hasLoopVariable(anything())))); in TEST()
3153 cxxForRangeStmt(hasLoopVariable(varDecl(hasName("i"))), in TEST()
3332 hasLoopVariable(varDecl(hasName("i"))), in TEST()
3345 hasLoopVariable(varDecl(hasName("i"))), in TEST()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2139 AST_MATCHER_P(CXXForRangeStmt, hasLoopVariable, internal::Matcher<VarDecl>, in AST_MATCHER_P() argument