| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | traversal-algorithm.mm | 54 // DFS-next:33 ForStmt 75 // DFS-next:33 ForStmt 83 // DFS-next:33 ForStmt 91 // DFS-next:33 ForStmt 100 // DFS-next:33 ForStmt 108 // DFS-next:33 ForStmt 116 // DFS-next:33 ForStmt 124 // DFS-next:33 ForStmt 133 // DFS-next:33 ForStmt 141 // DFS-next:33 ForStmt [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | LoopConvertCheck.h | 48 bool AliasFromForInit, const ForStmt *Loop, 51 StringRef getContainerString(ASTContext *Context, const ForStmt *Loop, 66 const ForStmt *Loop, LoopFixerKind FixerKind, 72 const ForStmt *Loop, LoopFixerKind FixerKind);
|
| H A D | LoopConvertCheck.cpp | 539 const ForStmt *Loop, RangeDescriptor Descriptor) { in doConversion() 686 const ForStmt *Loop, in getContainerString() 785 ASTContext *Context, const BoundNodes &Nodes, const ForStmt *Loop, in determineRangeDescriptor() 802 const ForStmt *Loop, in isConvertible() 847 const ForStmt *Loop; in check() 851 if ((Loop = Nodes.getNodeAs<ForStmt>(LoopNameArray))) { in check() 853 } else if ((Loop = Nodes.getNodeAs<ForStmt>(LoopNameIterator))) { in check() 855 } else if ((Loop = Nodes.getNodeAs<ForStmt>(LoopNameReverseIterator))) { in check() 858 Loop = Nodes.getNodeAs<ForStmt>(LoopNamePseudoArray); in check()
|
| H A D | LoopConvertUtils.h | 46 typedef llvm::DenseMap<const clang::ForStmt *, const clang::VarDecl *> 202 bool VisitForStmt(clang::ForStmt *F);
|
| H A D | LoopConvertUtils.cpp | 105 bool DeclFinderASTVisitor::VisitForStmt(ForStmt *TheLoop) { in VisitForStmt() 814 else if (isa<ForStmt>(CurrStmtParent)) { in VisitDeclStmt() 815 if (cast<ForStmt>(CurrStmtParent)->getConditionVariableDeclStmt() == S) in VisitDeclStmt()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | LoopWidening.cpp | 33 return cast<ForStmt>(LoopStmt)->getCond(); in getLoopCondition() 48 assert((isa<ForStmt, WhileStmt, DoStmt>(LoopStmt))); in getWidenedLoopState()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/ |
| H A D | UnrollLoopsCheck.cpp | 123 const auto *ForLoop = cast<ForStmt>(Statement); in hasKnownBounds() 153 if (const auto *ForLoop = dyn_cast<ForStmt>(Statement)) in getCondExpr() 173 const auto *ForLoop = cast<ForStmt>(Statement); in hasLargeNumIterations()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | FloatLoopCounter.cpp | 26 const auto *FS = Result.Nodes.getNodeAs<ForStmt>("for"); in check()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IdenticalExprChecker.cpp | 376 const ForStmt *ForStmt1 = cast<ForStmt>(Stmt1); in isIdenticalStmt() 377 const ForStmt *ForStmt2 = cast<ForStmt>(Stmt2); in isIdenticalStmt()
|
| H A D | CheckSecuritySyntaxOnly.cpp | 89 void VisitForStmt(ForStmt *S); 102 void checkLoopConditionForFloat(const ForStmt *FS); 213 void WalkAST::VisitForStmt(ForStmt *FS) { in VisitForStmt() 262 void WalkAST::checkLoopConditionForFloat(const ForStmt *FS) { in checkLoopConditionForFloat()
|
| H A D | ErrnoChecker.cpp | 85 CondFound = (S == cast<ForStmt>(ParentS)->getCond()); in isInCondition()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | attr-likelihood-if-branch-weights.cpp | 92 void ForStmt() { in ForStmt() function
|
| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/Extract/ |
| H A D | SourceExtraction.cpp | 37 if (const auto *For = dyn_cast<ForStmt>(S)) in isSemicolonRequiredAfter()
|
| /llvm-project-15.0.7/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
| H A D | p3.cpp | 167 constexpr int ForStmt() { in ForStmt() function
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | LibASTMatchersTutorial.rst | 253 The last step is giving the matcher a name and binding the ``ForStmt`` 284 if (const ForStmt *FS = Result.Nodes.getNodeAs<clang::ForStmt>("forLoop")) 421 (ForStmt 0x173b240 506 const ForStmt *FS = Result.Nodes.getNodeAs<ForStmt>("forLoop");
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | MisleadingIndentationCheck.cpp | 68 } else if (const auto *CurrentFor = dyn_cast<ForStmt>(CurrentStmt)) { in missingBracesCheck()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedLocalVarsChecker.cpp | 42 return grandParent.begin()->get<ForStmt>() || in isDeclaredInForOrIf()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | ExtractVariable.cpp | 166 isa<DoStmt>(Stmt) || isa<ForStmt>(Stmt) || isa<IfStmt>(Stmt) || in computeInsertionPoint() 383 if (const auto* FS = llvm::dyn_cast<ForStmt>(Outer)) in childExprIsStmt()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 95 ForStmt, enumerator 264 DEFINE_NESTABLE_TRAVERSAL(ForStmt) in DEFINE_NESTABLE_TRAVERSAL() 282 return PGOHash::ForStmt; in DEFINE_NESTABLE_TRAVERSAL() 533 void VisitForStmt(const ForStmt *S) { in VisitForStmt()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | InfiniteLoopCheck.cpp | 33 if (const auto *ForLoop = dyn_cast<ForStmt>(LoopStmt)) in isChanged()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 2026 void VisitForStmt(const ForStmt *S) { in VisitForStmt() 3065 ObjCForCollectionStmt * ForStmt = cast<ObjCForCollectionStmt>(S); in FinishObjCForCollectionStmt() local 3067 ForStmt->setBody(B); in FinishObjCForCollectionStmt() 3219 ForStmt->getBeginLoc()) && in DiagnoseForRangeVariableCopies() 3221 ForStmt->getBeginLoc()) && in DiagnoseForRangeVariableCopies() 3223 ForStmt->getBeginLoc())) { in DiagnoseForRangeVariableCopies() 3227 const VarDecl *VD = ForStmt->getLoopVariable(); in DiagnoseForRangeVariableCopies() 3262 CXXForRangeStmt *ForStmt = cast<CXXForRangeStmt>(S); in FinishCXXForRangeStmt() local 3263 ForStmt->setBody(B); in FinishCXXForRangeStmt() 3265 DiagnoseEmptyStmtBody(ForStmt->getRParenLoc(), B, in FinishCXXForRangeStmt() [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ParentMap.cpp | 196 return DirectChild == cast<ForStmt>(P)->getCond(); in isConsumedExpr()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | InefficientVectorOperationCheck.cpp | 191 const auto *ForLoop = Result.Nodes.getNodeAs<ForStmt>(LoopCounterName); in check()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ReachableCode.cpp | 635 if (const ForStmt *FS = dyn_cast<ForStmt>(LoopTarget)) { in reportDeadCode()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/Dynamic/ |
| H A D | RegistryTest.cpp | 533 …Args(ASTNodeKind::getFromNodeKind<WhileStmt>(), ASTNodeKind::getFromNodeKind<ForStmt>()), nullptr); in TEST_F() 540 …s(ASTNodeKind::getFromNodeKind<FunctionDecl>(), ASTNodeKind::getFromNodeKind<ForStmt>()), nullptr); in TEST_F()
|