| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | traversal-algorithm.mm | 55 // DFS-next:37 ObjCForCollectionStmt 61 // DFS-next:37 ObjCForCollectionStmt 62 // DFS-next:37 ObjCForCollectionStmt 68 // DFS-next:37 ObjCForCollectionStmt 69 // DFS-next:37 ObjCForCollectionStmt 71 // DFS-next:37 ObjCForCollectionStmt 72 // DFS-next:37 ObjCForCollectionStmt 74 // DFS-next:37 ObjCForCollectionStmt 76 // DFS-next:37 ObjCForCollectionStmt 82 // DFS-next:37 ObjCForCollectionStmt [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | StmtObjC.cpp | 20 ObjCForCollectionStmt::ObjCForCollectionStmt(Stmt *Elem, Expr *Collect, in ObjCForCollectionStmt() function in ObjCForCollectionStmt
|
| H A D | ParentMap.cpp | 208 return DirectChild == cast<ObjCForCollectionStmt>(P)->getCollection(); in isConsumedExpr()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | ExprEngine.h | 64 class ObjCForCollectionStmt; variable 526 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S, 904 const ObjCForCollectionStmt *O, 908 removeIterationState(ProgramStateRef State, const ObjCForCollectionStmt *O, 912 const ObjCForCollectionStmt *O,
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | BasicObjCFoundationChecks.cpp | 807 : public Checker<check::PostStmt<ObjCForCollectionStmt>, 818 void checkPostStmt(const ObjCForCollectionStmt *FCS, CheckerContext &C) const; 855 const ObjCForCollectionStmt *FCS) { in checkCollectionNonNil() 880 const ObjCForCollectionStmt *FCS) { in checkElementNonNil() 944 const ObjCForCollectionStmt *FCS, in assumeCollectionNonEmpty() 955 const ObjCForCollectionStmt *FCS) { in alreadyExecutedAtLeastOneLoopIteration() 974 void ObjCLoopChecker::checkPostStmt(const ObjCForCollectionStmt *FCS, in checkPostStmt()
|
| H A D | UndefBranchChecker.cpp | 64 if (isa<ObjCForCollectionStmt>(Condition)) in checkBranchCondition()
|
| H A D | TraversalChecker.cpp | 40 const Stmt *Parent = dyn_cast<ObjCForCollectionStmt>(Condition); in checkBranchCondition()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | StmtObjC.h | 23 class ObjCForCollectionStmt : public Stmt { 29 ObjCForCollectionStmt(Stmt *Elem, Expr *Collect, Stmt *Body, 31 explicit ObjCForCollectionStmt(EmptyShell Empty) : in ObjCForCollectionStmt() function
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineObjC.cpp | 48 const ObjCForCollectionStmt *S, const Stmt *elem, SVal elementV, in populateObjCForDestinationSet() 83 void ExprEngine::VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S, in VisitObjCForCollectionStmt()
|
| H A D | BugReporter.cpp | 691 if (cast<ObjCForCollectionStmt>(Parent)->getBody() == S) in getEnclosingStmtLocation() 1067 const auto *FC = cast<ObjCForCollectionStmt>(Term); in isInLoopBody() 1110 if (const auto *FS = dyn_cast_or_null<ObjCForCollectionStmt>(S)) in getTerminatorCondition() 1230 if (!isa<ObjCForCollectionStmt>(PS->getStmt())) { in generatePathDiagnosticsForNode() 1255 else if (const auto *OFS = dyn_cast<ObjCForCollectionStmt>(Loop)) { in generatePathDiagnosticsForNode() 1293 if (isa<ObjCForCollectionStmt>(Term)) { in generatePathDiagnosticsForNode() 1396 return cast<ObjCForCollectionStmt>(S)->getElement() == Cond; in isConditionForTerminator() 1552 if (!isa<ForStmt, WhileStmt, IfStmt, ObjCForCollectionStmt, in simplifySimpleBranches() 1907 const auto *FS = dyn_cast_or_null<ObjCForCollectionStmt>(level3); in optimizeEdges()
|
| H A D | Environment.cpp | 89 assert(!isa<ObjCForCollectionStmt>(S) && in getSVal()
|
| H A D | ExprEngine.cpp | 1968 VisitObjCForCollectionStmt(cast<ObjCForCollectionStmt>(S), Pred, Dst); in Visit() 2324 std::pair<const ObjCForCollectionStmt *, const LocationContext *>; 2329 ProgramStateRef State, const ObjCForCollectionStmt *O, in REGISTER_MAP_WITH_PROGRAMSTATE() 2337 const ObjCForCollectionStmt *O, in removeIterationState() 2344 const ObjCForCollectionStmt *O, in hasMoreIteration() 2356 if (const auto *ObjCFor = dyn_cast<ObjCForCollectionStmt>(Condition)) { in assumeCondition() 2446 assert(!isa<ObjCForCollectionStmt>(Condition)); in processBranch() 2452 assert(!isa<ObjCForCollectionStmt>(Condition)); in processBranch()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/Extract/ |
| H A D | SourceExtraction.cpp | 41 if (const auto *ObjCFor = dyn_cast<ObjCForCollectionStmt>(S)) in isSemicolonRequiredAfter()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 97 ObjCForCollectionStmt, enumerator 266 DEFINE_NESTABLE_TRAVERSAL(ObjCForCollectionStmt) in DEFINE_NESTABLE_TRAVERSAL() 286 return PGOHash::ObjCForCollectionStmt; in DEFINE_NESTABLE_TRAVERSAL() 602 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
|
| H A D | CoverageMappingGen.cpp | 1249 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | TransEmptyStatementsAndDealloc.cpp | 129 bool VisitObjCForCollectionStmt(ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | LiveVariables.cpp | 173 void VisitObjCForCollectionStmt(ObjCForCollectionStmt *OS); 415 void TransferFunctions::VisitObjCForCollectionStmt(ObjCForCollectionStmt *OS) { in VisitObjCForCollectionStmt()
|
| H A D | UninitializedValues.cpp | 492 void VisitObjCForCollectionStmt(ObjCForCollectionStmt *FS); 689 void TransferFunctions::VisitObjCForCollectionStmt(ObjCForCollectionStmt *FS) { in VisitObjCForCollectionStmt()
|
| H A D | CFG.cpp | 597 CFGBlock *VisitObjCForCollectionStmt(ObjCForCollectionStmt *S); 2296 return VisitObjCForCollectionStmt(cast<ObjCForCollectionStmt>(S)); in Visit() 3627 CFGBlock *CFGBuilder::VisitObjCForCollectionStmt(ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt() 6173 if (isa<ObjCForCollectionStmt>(Cond) || isa<DeclStmt>(Cond)) in getLastCondition()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 306 Stmt *RewriteObjCForCollectionStmt(ObjCForCollectionStmt *S, 1418 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteBreakStmt() 1435 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteContinueStmt() 1480 Stmt *RewriteObjC::RewriteObjCForCollectionStmt(ObjCForCollectionStmt *S, in RewriteObjCForCollectionStmt() 1483 assert(isa<ObjCForCollectionStmt>(Stmts.back()) && in RewriteObjCForCollectionStmt() 4544 if (const ObjCForCollectionStmt * CS = in IsDeclStmtInForeachHeader() 4545 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) in IsDeclStmtInForeachHeader() 4558 else if (isa<ObjCForCollectionStmt>(S)) { in RewriteFunctionBodyOrGlobalInitializer() 4664 if (ObjCForCollectionStmt *StmtForCollection = in RewriteFunctionBodyOrGlobalInitializer() 4665 dyn_cast<ObjCForCollectionStmt>(S)) in RewriteFunctionBodyOrGlobalInitializer()
|
| H A D | RewriteModernObjC.cpp | 364 Stmt *RewriteObjCForCollectionStmt(ObjCForCollectionStmt *S, 1610 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteBreakStmt() 1640 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteContinueStmt() 1685 Stmt *RewriteModernObjC::RewriteObjCForCollectionStmt(ObjCForCollectionStmt *S, in RewriteObjCForCollectionStmt() 1688 assert(isa<ObjCForCollectionStmt>(Stmts.back()) && in RewriteObjCForCollectionStmt() 5419 if (const ObjCForCollectionStmt * CS = in IsDeclStmtInForeachHeader() 5420 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) in IsDeclStmtInForeachHeader() 5433 else if (isa<ObjCForCollectionStmt>(S)) { in RewriteFunctionBodyOrGlobalInitializer() 5559 if (ObjCForCollectionStmt *StmtForCollection = in RewriteFunctionBodyOrGlobalInitializer() 5560 dyn_cast<ObjCForCollectionStmt>(S)) in RewriteFunctionBodyOrGlobalInitializer()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 45 def ObjCForCollectionStmt : StmtNode<Stmt>;
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 2056 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt() 2359 return new (Context) ObjCForCollectionStmt(First, CollectionExprResult.get(), in ActOnObjCForCollectionStmt() 3065 ObjCForCollectionStmt * ForStmt = cast<ObjCForCollectionStmt>(S); in FinishObjCForCollectionStmt() 3259 if (isa<ObjCForCollectionStmt>(S)) in FinishCXXForRangeStmt()
|
| H A D | JumpDiagnostics.cpp | 322 auto *CS = cast<ObjCForCollectionStmt>(S); in BuildScopeInformation()
|
| H A D | SemaAvailability.cpp | 594 return cast<ObjCForCollectionStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt()
|