Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DStmtObjC.cpp20 ObjCForCollectionStmt::ObjCForCollectionStmt(Stmt *Elem, Expr *Collect, in ObjCForCollectionStmt() function in ObjCForCollectionStmt
H A DParentMap.cpp210 return DirectChild == cast<ObjCForCollectionStmt>(P)->getCollection(); in isConsumedExpr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h65 class ObjCForCollectionStmt; variable
527 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S,
909 const ObjCForCollectionStmt *O,
913 removeIterationState(ProgramStateRef State, const ObjCForCollectionStmt *O,
917 const ObjCForCollectionStmt *O,
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBasicObjCFoundationChecks.cpp818 : public Checker<check::PostStmt<ObjCForCollectionStmt>,
829 void checkPostStmt(const ObjCForCollectionStmt *FCS, CheckerContext &C) const;
866 const ObjCForCollectionStmt *FCS) { in checkCollectionNonNil()
892 const ObjCForCollectionStmt *FCS) { in checkElementNonNil()
956 const ObjCForCollectionStmt *FCS, in assumeCollectionNonEmpty()
967 const ObjCForCollectionStmt *FCS) { in alreadyExecutedAtLeastOneLoopIteration()
985 void ObjCLoopChecker::checkPostStmt(const ObjCForCollectionStmt *FCS, in checkPostStmt()
H A DUndefBranchChecker.cpp65 if (isa<ObjCForCollectionStmt>(Condition)) in checkBranchCondition()
H A DTraversalChecker.cpp40 const Stmt *Parent = dyn_cast<ObjCForCollectionStmt>(Condition); in checkBranchCondition()
/freebsd-14.2/contrib/llvm-project/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
/freebsd-14.2/contrib/llvm-project/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()
1908 const auto *FS = dyn_cast_or_null<ObjCForCollectionStmt>(level3); in optimizeEdges()
H A DEnvironment.cpp92 assert(!isa<ObjCForCollectionStmt>(S) && in getSVal()
H A DExprEngine.cpp2311 VisitObjCForCollectionStmt(cast<ObjCForCollectionStmt>(S), Pred, Dst); in Visit()
2666 std::pair<const ObjCForCollectionStmt *, const LocationContext *>;
2671 ProgramStateRef State, const ObjCForCollectionStmt *O, in REGISTER_MAP_WITH_PROGRAMSTATE()
2679 const ObjCForCollectionStmt *O, in removeIterationState()
2686 const ObjCForCollectionStmt *O, in hasMoreIteration()
2698 if (const auto *ObjCFor = dyn_cast<ObjCForCollectionStmt>(Condition)) { in assumeCondition()
2788 assert(!isa<ObjCForCollectionStmt>(Condition)); in processBranch()
2794 assert(!isa<ObjCForCollectionStmt>(Condition)); in processBranch()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp42 if (const auto *ObjCFor = dyn_cast<ObjCForCollectionStmt>(S)) in isSemicolonRequiredAfter()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp129 bool VisitObjCForCollectionStmt(ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp100 ObjCForCollectionStmt, enumerator
394 DEFINE_NESTABLE_TRAVERSAL(ObjCForCollectionStmt) in DEFINE_NESTABLE_TRAVERSAL()
414 return PGOHash::ObjCForCollectionStmt; in DEFINE_NESTABLE_TRAVERSAL()
730 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
H A DCodeGenFunction.h74 class ObjCForCollectionStmt; variable
3344 void EmitObjCForCollectionStmt(const ObjCForCollectionStmt &S);
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp174 void VisitObjCForCollectionStmt(ObjCForCollectionStmt *OS);
416 void TransferFunctions::VisitObjCForCollectionStmt(ObjCForCollectionStmt *OS) { in VisitObjCForCollectionStmt()
H A DUninitializedValues.cpp507 void VisitObjCForCollectionStmt(ObjCForCollectionStmt *FS);
682 void TransferFunctions::VisitObjCForCollectionStmt(ObjCForCollectionStmt *FS) { in VisitObjCForCollectionStmt()
H A DCFG.cpp614 CFGBlock *VisitObjCForCollectionStmt(ObjCForCollectionStmt *S);
2363 return VisitObjCForCollectionStmt(cast<ObjCForCollectionStmt>(S)); in Visit()
3697 CFGBlock *CFGBuilder::VisitObjCForCollectionStmt(ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
6258 if (isa<ObjCForCollectionStmt>(Cond) || isa<DeclStmt>(Cond)) in getLastCondition()
/freebsd-14.2/contrib/llvm-project/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()
5418 if (const ObjCForCollectionStmt * CS = in IsDeclStmtInForeachHeader()
5419 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) in IsDeclStmtInForeachHeader()
5432 else if (isa<ObjCForCollectionStmt>(S)) { in RewriteFunctionBodyOrGlobalInitializer()
5558 if (ObjCForCollectionStmt *StmtForCollection = in RewriteFunctionBodyOrGlobalInitializer()
5559 dyn_cast<ObjCForCollectionStmt>(S)) in RewriteFunctionBodyOrGlobalInitializer()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td45 def ObjCForCollectionStmt : StmtNode<Stmt>;
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp2066 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
2372 return new (Context) ObjCForCollectionStmt(First, CollectionExprResult.get(), in ActOnObjCForCollectionStmt()
3084 ObjCForCollectionStmt * ForStmt = cast<ObjCForCollectionStmt>(S); in FinishObjCForCollectionStmt()
3278 if (isa<ObjCForCollectionStmt>(S)) in FinishCXXForRangeStmt()
H A DSemaAvailability.cpp633 return cast<ObjCForCollectionStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt()
H A DJumpDiagnostics.cpp320 auto *CS = cast<ObjCForCollectionStmt>(S); in BuildScopeInformation()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1591 void ASTStmtReader::VisitObjCForCollectionStmt(ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
3293 S = new (Context) ObjCForCollectionStmt(Empty); in ReadStmtFromStream()

12