/external/llvm-project/clang/test/Analysis/ |
D | traversal-algorithm.mm | 56 // DFS-next:44 CXXForRangeStmt 57 // DFS-next:44 CXXForRangeStmt 58 // DFS-next:44 CXXForRangeStmt 59 // DFS-next:44 CXXForRangeStmt 63 // DFS-next:44 CXXForRangeStmt 64 // DFS-next:44 CXXForRangeStmt 65 // DFS-next:44 CXXForRangeStmt 66 // DFS-next:44 CXXForRangeStmt 70 // DFS-next:44 CXXForRangeStmt 73 // DFS-next:44 CXXForRangeStmt [all …]
|
/external/clang/test/Analysis/ |
D | traversal-algorithm.mm | 56 // DFS-next:44 CXXForRangeStmt 57 // DFS-next:44 CXXForRangeStmt 58 // DFS-next:44 CXXForRangeStmt 59 // DFS-next:44 CXXForRangeStmt 63 // DFS-next:44 CXXForRangeStmt 64 // DFS-next:44 CXXForRangeStmt 65 // DFS-next:44 CXXForRangeStmt 66 // DFS-next:44 CXXForRangeStmt 70 // DFS-next:44 CXXForRangeStmt 73 // DFS-next:44 CXXForRangeStmt [all …]
|
/external/clang/lib/AST/ |
D | StmtCXX.cpp | 52 CXXForRangeStmt::CXXForRangeStmt(DeclStmt *Range, in CXXForRangeStmt() function in CXXForRangeStmt 69 Expr *CXXForRangeStmt::getRangeInit() { in getRangeInit() 76 const Expr *CXXForRangeStmt::getRangeInit() const { in getRangeInit() 77 return const_cast<CXXForRangeStmt *>(this)->getRangeInit(); in getRangeInit() 80 VarDecl *CXXForRangeStmt::getLoopVariable() { in getLoopVariable() 86 const VarDecl *CXXForRangeStmt::getLoopVariable() const { in getLoopVariable() 87 return const_cast<CXXForRangeStmt *>(this)->getLoopVariable(); in getLoopVariable()
|
/external/llvm-project/clang/lib/AST/ |
D | StmtCXX.cpp | 47 CXXForRangeStmt::CXXForRangeStmt(Stmt *Init, DeclStmt *Range, in CXXForRangeStmt() function in CXXForRangeStmt 65 Expr *CXXForRangeStmt::getRangeInit() { in getRangeInit() 72 const Expr *CXXForRangeStmt::getRangeInit() const { in getRangeInit() 73 return const_cast<CXXForRangeStmt *>(this)->getRangeInit(); in getRangeInit() 76 VarDecl *CXXForRangeStmt::getLoopVariable() { in getLoopVariable() 82 const VarDecl *CXXForRangeStmt::getLoopVariable() const { in getLoopVariable() 83 return const_cast<CXXForRangeStmt *>(this)->getLoopVariable(); in getLoopVariable()
|
D | StmtOpenMP.cpp | 94 if (isa<ForStmt>(S) || isa<CXXForRangeStmt>(S)) { in tryToFindNextInnerLoop() 127 assert(isa<CXXForRangeStmt>(Body) && in getBody() 129 Body = cast<CXXForRangeStmt>(Body)->getBody(); in getBody() 136 assert(isa<CXXForRangeStmt>(Body) && in getBody() 138 Body = cast<CXXForRangeStmt>(Body)->getBody(); in getBody()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | UseAnyOfAllOfCheck.cpp | 75 static bool isViableLoop(const CXXForRangeStmt &S, ASTContext &Context) { in isViableLoop() 93 if (const auto *S = Result.Nodes.getNodeAs<CXXForRangeStmt>("any_of_loop")) { in check() 99 Result.Nodes.getNodeAs<CXXForRangeStmt>("all_of_loop")) { in check()
|
D | BracesAroundStatementsCheck.cpp | 144 } else if (auto S = Result.Nodes.getNodeAs<CXXForRangeStmt>("for-range")) { in check()
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | ForRangeCopyCheck.cpp | 67 const auto *ForRange = Result.Nodes.getNodeAs<CXXForRangeStmt>("forRange"); in check() 98 const VarDecl &LoopVar, const CXXForRangeStmt &ForRange, in handleCopyIsOnlyConstReferenced()
|
D | ForRangeCopyCheck.h | 41 const CXXForRangeStmt &ForRange,
|
D | InefficientVectorOperationCheck.cpp | 187 Result.Nodes.getNodeAs<CXXForRangeStmt>(RangeLoopName); in check()
|
/external/clang/include/clang/AST/ |
D | StmtCXX.h | 128 class CXXForRangeStmt : public Stmt { 140 CXXForRangeStmt(DeclStmt *Range, DeclStmt *Begin, DeclStmt *End, 144 CXXForRangeStmt(EmptyShell Empty) : Stmt(CXXForRangeStmtClass, Empty) { } in CXXForRangeStmt() function
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | ProBoundsArrayToPointerDecayCheck.cpp | 21 AST_MATCHER_P(CXXForRangeStmt, hasRangeBeginEndStmt, in AST_MATCHER_P() argument
|
/external/llvm-project/clang/include/clang/AST/ |
D | StmtCXX.h | 134 class CXXForRangeStmt : public Stmt { 146 CXXForRangeStmt(Stmt *InitStmt, DeclStmt *Range, DeclStmt *Begin, 150 CXXForRangeStmt(EmptyShell Empty) : Stmt(CXXForRangeStmtClass, Empty) { } in CXXForRangeStmt() function
|
D | ASTNodeTraverser.h | 148 isa<LambdaExpr, CXXForRangeStmt, CallExpr>(S)) 729 void VisitCXXForRangeStmt(const CXXForRangeStmt *Node) { in VisitCXXForRangeStmt()
|
/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
D | SourceExtraction.cpp | 39 if (const auto *CXXFor = dyn_cast<CXXForRangeStmt>(S)) in isSemicolonRequiredAfter()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
D | UncountedLocalVarsChecker.cpp | 44 grandParent.begin()->get<CXXForRangeStmt>(); in isDeclaredInForOrIf()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | ExtractVariable.cpp | 134 isa<CXXForRangeStmt>(Stmt) || isa<DeclStmt>(Stmt) || in computeInsertionPoint() 354 if (const auto* FS = llvm::dyn_cast<CXXForRangeStmt>(Outer)) in childExprIsStmt()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | BugReporter.cpp | 459 if (cast<CXXForRangeStmt>(Parent)->getBody() == S) in getEnclosingStmtLocation() 1354 const CXXForRangeStmt *FR = cast<CXXForRangeStmt>(Term); in isInLoopBody() 1786 } else if (const CXXForRangeStmt *FRS = in GenerateAlternateExtensivePathDiagnostic() 1787 dyn_cast<CXXForRangeStmt>(Loop)) { in GenerateAlternateExtensivePathDiagnostic() 1824 } else if (isa<CXXForRangeStmt>(Term)) { in GenerateAlternateExtensivePathDiagnostic() 1937 const CXXForRangeStmt *FRS = cast<CXXForRangeStmt>(S); in isConditionForTerminator() 1948 if (const CXXForRangeStmt *FRS = dyn_cast<CXXForRangeStmt>(FL)) in isIncrementOrInitInForLoop() 2096 isa<CXXForRangeStmt>(s1Start))) in simplifySimpleBranches()
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | ExprSequence.cpp | 142 } else if (const auto *ForRange = dyn_cast<CXXForRangeStmt>(Parent)) { in getSequenceSuccessor()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 96 CXXForRangeStmt, enumerator 250 DEFINE_NESTABLE_TRAVERSAL(CXXForRangeStmt) in DEFINE_NESTABLE_TRAVERSAL() 269 return PGOHash::CXXForRangeStmt; in DEFINE_NESTABLE_TRAVERSAL() 553 void VisitCXXForRangeStmt(const CXXForRangeStmt *S) { in VisitCXXForRangeStmt()
|
/external/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 84 CXXForRangeStmt, enumerator 170 return PGOHash::CXXForRangeStmt; in getHashType() 410 void VisitCXXForRangeStmt(const CXXForRangeStmt *S) { in VisitCXXForRangeStmt()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | BugReporter.cpp | 674 if (cast<CXXForRangeStmt>(Parent)->getBody() == S) in getEnclosingStmtLocation() 1048 const auto *FR = cast<CXXForRangeStmt>(Term); in isInLoopBody() 1251 } else if (const auto *FRS = dyn_cast<CXXForRangeStmt>(Loop)) { in generatePathDiagnosticsForNode() 1287 } else if (isa<CXXForRangeStmt>(Term)) { in generatePathDiagnosticsForNode() 1389 const auto *FRS = cast<CXXForRangeStmt>(S); in isConditionForTerminator() 1400 if (const auto *FRS = dyn_cast<CXXForRangeStmt>(FL)) in isIncrementOrInitInForLoop() 1545 isa<CXXForRangeStmt>(s1Start))) in simplifySimpleBranches()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1433 CXXForRangeStmt> cxxForRangeStmt; 1443 AST_MATCHER_P(CXXForRangeStmt, hasLoopVariable, internal::Matcher<VarDecl>, in AST_MATCHER_P() argument 1457 AST_MATCHER_P(CXXForRangeStmt, hasRangeInit, internal::Matcher<Expr>, in AST_MATCHER_P() argument 3541 CXXForRangeStmt, in AST_POLYMORPHIC_MATCHER_P() argument
|
/external/clang/include/clang/Basic/ |
D | StmtNodes.td | 49 def CXXForRangeStmt : Stmt;
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2064 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CXXForRangeStmt> 2075 AST_MATCHER_P(CXXForRangeStmt, hasLoopVariable, internal::Matcher<VarDecl>, in AST_MATCHER_P() argument 2089 AST_MATCHER_P(CXXForRangeStmt, hasRangeInit, internal::Matcher<Expr>, in AST_MATCHER_P() argument 4860 CXXForRangeStmt), in AST_POLYMORPHIC_MATCHER_P() argument 5021 CXXForRangeStmt, in AST_POLYMORPHIC_MATCHER_P() argument
|