reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 1877     cxxForRangeStmt;

References

tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  179   REGISTER_MATCHER(cxxForRangeStmt);
tools/clang/lib/Analysis/ExprMutationAnalyzer.cpp
  342       match(findAll(cxxForRangeStmt(
  378                   cxxForRangeStmt(hasRangeStmt(equalsBoundNode("stmt"))))))))
tools/clang/lib/StaticAnalyzer/Checkers/PointerIterationChecker.cpp
   74   auto PointerIterM = stmt(cxxForRangeStmt(
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousSemicolonCheck.cpp
   25                  cxxForRangeStmt(hasBody(nullStmt().bind("semi"))),
tools/clang/tools/extra/clang-tidy/bugprone/TerminatingContinueCheck.cpp
   30                                           cxxForRangeStmt(), doStmt()))
tools/clang/tools/extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
   76   auto UnusedInRangeForStmt = cxxForRangeStmt(hasBody(MatchedCallExpr));
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/AvoidGotoCheck.cpp
   35   auto Loop = stmt(anyOf(forStmt(), cxxForRangeStmt(), whileStmt(), doStmt()));
   37       stmt(anyOf(forStmt(hasAncestor(Loop)), cxxForRangeStmt(hasAncestor(Loop)),
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp
   29   return stmt(hasAncestor(cxxForRangeStmt(
tools/clang/tools/extra/clang-tidy/performance/ForRangeCopyCheck.cpp
   45   Finder->addMatcher(cxxForRangeStmt(hasLoopVariable(LoopVar.bind("loopVar")))
tools/clang/tools/extra/clang-tidy/performance/ImplicitConversionInLoopCheck.cpp
   50       cxxForRangeStmt(hasLoopVariable(
tools/clang/tools/extra/clang-tidy/performance/InefficientStringConcatenationCheck.cpp
   64                             hasAncestor(stmt(anyOf(cxxForRangeStmt(),
tools/clang/tools/extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
  147       cxxForRangeStmt(
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
   47                 unless(hasAncestor(stmt(anyOf(forStmt(), cxxForRangeStmt(),
tools/clang/tools/extra/clang-tidy/readability/BracesAroundStatementsCheck.cpp
  130   Finder->addMatcher(cxxForRangeStmt().bind("for-range"), this);
tools/clang/tools/extra/clang-tidy/readability/RedundantControlFlowCheck.cpp
   43       stmt(anyOf(forStmt(), cxxForRangeStmt(), whileStmt(), doStmt()),
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
  290                       cxxForRangeStmt()));
  292                          cxxForRangeStmt()));
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
 1365                       cxxForRangeStmt(hasLoopVariable(anything()))));
 1368     cxxForRangeStmt(hasRangeInit(declRefExpr(to(varDecl(hasName("a"))))))));
 1388                       cxxForRangeStmt(hasBody(compoundStmt()))));