Home
last modified time | relevance | path

Searched refs:ObjCForCollectionStmt (Results 1 – 25 of 36) sorted by relevance

12

/llvm-project-15.0.7/clang/test/Analysis/
H A Dtraversal-algorithm.mm55 // 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 DStmtObjC.cpp20 ObjCForCollectionStmt::ObjCForCollectionStmt(Stmt *Elem, Expr *Collect, in ObjCForCollectionStmt() function in ObjCForCollectionStmt
H A DParentMap.cpp208 return DirectChild == cast<ObjCForCollectionStmt>(P)->getCollection(); in isConsumedExpr()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h64 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 DBasicObjCFoundationChecks.cpp807 : 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 DUndefBranchChecker.cpp64 if (isa<ObjCForCollectionStmt>(Condition)) in checkBranchCondition()
H A DTraversalChecker.cpp40 const Stmt *Parent = dyn_cast<ObjCForCollectionStmt>(Condition); in checkBranchCondition()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtObjC.h23 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 DExprEngineObjC.cpp48 const ObjCForCollectionStmt *S, const Stmt *elem, SVal elementV, in populateObjCForDestinationSet()
83 void ExprEngine::VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S, in VisitObjCForCollectionStmt()
H A DBugReporter.cpp691 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 DEnvironment.cpp89 assert(!isa<ObjCForCollectionStmt>(S) && in getSVal()
H A DExprEngine.cpp1968 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 DSourceExtraction.cpp41 if (const auto *ObjCFor = dyn_cast<ObjCForCollectionStmt>(S)) in isSemicolonRequiredAfter()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenPGO.cpp97 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 DCoverageMappingGen.cpp1249 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp129 bool VisitObjCForCollectionStmt(ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DLiveVariables.cpp173 void VisitObjCForCollectionStmt(ObjCForCollectionStmt *OS);
415 void TransferFunctions::VisitObjCForCollectionStmt(ObjCForCollectionStmt *OS) { in VisitObjCForCollectionStmt()
H A DUninitializedValues.cpp492 void VisitObjCForCollectionStmt(ObjCForCollectionStmt *FS);
689 void TransferFunctions::VisitObjCForCollectionStmt(ObjCForCollectionStmt *FS) { in VisitObjCForCollectionStmt()
H A DCFG.cpp597 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 DRewriteObjC.cpp306 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 DRewriteModernObjC.cpp364 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 DStmtNodes.td45 def ObjCForCollectionStmt : StmtNode<Stmt>;
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp2056 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 DJumpDiagnostics.cpp322 auto *CS = cast<ObjCForCollectionStmt>(S); in BuildScopeInformation()
H A DSemaAvailability.cpp594 return cast<ObjCForCollectionStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt()

12