Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtObjC.cpp20 ObjCForCollectionStmt::ObjCForCollectionStmt(Stmt *Elem, Expr *Collect, in ObjCForCollectionStmt() function in ObjCForCollectionStmt
H A DParentMap.cpp219 return DirectChild == cast<ObjCForCollectionStmt>(P)->getCollection(); in isConsumedExpr()
H A DStmtProfile.cpp399 void StmtProfiler::VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
H A DStmtPrinter.cpp425 void StmtPrinter::VisitObjCForCollectionStmt(ObjCForCollectionStmt *Node) { in VisitObjCForCollectionStmt()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBasicObjCFoundationChecks.cpp813 : public Checker<check::PostStmt<ObjCForCollectionStmt>,
824 void checkPostStmt(const ObjCForCollectionStmt *FCS, CheckerContext &C) const;
861 const ObjCForCollectionStmt *FCS) { in checkCollectionNonNil()
887 const ObjCForCollectionStmt *FCS) { in checkElementNonNil()
951 const ObjCForCollectionStmt *FCS, in assumeCollectionNonEmpty()
962 const ObjCForCollectionStmt *FCS) { in alreadyExecutedAtLeastOneLoopIteration()
980 void ObjCLoopChecker::checkPostStmt(const ObjCForCollectionStmt *FCS, in checkPostStmt()
/freebsd/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/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h65 class ObjCForCollectionStmt; variable
531 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S,
914 const ObjCForCollectionStmt *O,
918 removeIterationState(ProgramStateRef State, const ObjCForCollectionStmt *O,
922 const ObjCForCollectionStmt *O,
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineObjC.cpp48 const ObjCForCollectionStmt *S, ConstCFGElementRef elem, SVal elementV, in populateObjCForDestinationSet()
83 void ExprEngine::VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S, in VisitObjCForCollectionStmt()
H A DBugReporter.cpp722 if (cast<ObjCForCollectionStmt>(Parent)->getBody() == S) in getEnclosingStmtLocation()
1094 const auto *FC = cast<ObjCForCollectionStmt>(Term); in isInLoopBody()
1137 if (const auto *FS = dyn_cast_or_null<ObjCForCollectionStmt>(S)) in getTerminatorCondition()
1257 if (!isa<ObjCForCollectionStmt>(PS->getStmt())) { in generatePathDiagnosticsForNode()
1282 else if (const auto *OFS = dyn_cast<ObjCForCollectionStmt>(Loop)) { in generatePathDiagnosticsForNode()
1320 if (isa<ObjCForCollectionStmt>(Term)) { in generatePathDiagnosticsForNode()
1425 return cast<ObjCForCollectionStmt>(S)->getElement() == Cond; in isConditionForTerminator()
1581 if (!isa<ForStmt, WhileStmt, IfStmt, ObjCForCollectionStmt, in simplifySimpleBranches()
1937 const auto *FS = dyn_cast_or_null<ObjCForCollectionStmt>(level3); in optimizeEdges()
H A DEnvironment.cpp90 assert(!isa<ObjCForCollectionStmt>(S) && in getSVal()
H A DExprEngine.cpp2344 VisitObjCForCollectionStmt(cast<ObjCForCollectionStmt>(S), Pred, Dst); in Visit()
2737 std::pair<const ObjCForCollectionStmt *, const LocationContext *>;
2742 ProgramStateRef State, const ObjCForCollectionStmt *O, in REGISTER_MAP_WITH_PROGRAMSTATE()
2750 const ObjCForCollectionStmt *O, in removeIterationState()
2757 const ObjCForCollectionStmt *O, in hasMoreIteration()
2769 if (const auto *ObjCFor = dyn_cast<ObjCForCollectionStmt>(Condition)) { in assumeCondition()
2855 assert(!isa<ObjCForCollectionStmt>(Condition)); in processBranch()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp42 if (const auto *ObjCFor = dyn_cast<ObjCForCollectionStmt>(S)) in isSemicolonRequiredAfter()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp102 ObjCForCollectionStmt, enumerator
483 DEFINE_NESTABLE_TRAVERSAL(ObjCForCollectionStmt)
503 return PGOHash::ObjCForCollectionStmt; in DEFINE_NESTABLE_TRAVERSAL()
819 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
H A DCodeGenFunction.h77 class ObjCForCollectionStmt; variable
3612 void EmitObjCForCollectionStmt(const ObjCForCollectionStmt &S);
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp175 void VisitObjCForCollectionStmt(ObjCForCollectionStmt *OS);
453 void TransferFunctions::VisitObjCForCollectionStmt(ObjCForCollectionStmt *OS) { in VisitObjCForCollectionStmt()
H A DUninitializedValues.cpp500 void VisitObjCForCollectionStmt(ObjCForCollectionStmt *FS);
688 void TransferFunctions::VisitObjCForCollectionStmt(ObjCForCollectionStmt *FS) { in VisitObjCForCollectionStmt()
H A DCFG.cpp636 CFGBlock *VisitObjCForCollectionStmt(ObjCForCollectionStmt *S);
2449 return VisitObjCForCollectionStmt(cast<ObjCForCollectionStmt>(S)); in Visit()
3806 CFGBlock *CFGBuilder::VisitObjCForCollectionStmt(ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
6369 if (isa<ObjCForCollectionStmt>(Cond) || isa<DeclStmt>(Cond)) in getLastCondition()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp304 Stmt *RewriteObjCForCollectionStmt(ObjCForCollectionStmt *S,
1416 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteBreakStmt()
1433 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteContinueStmt()
1478 Stmt *RewriteObjC::RewriteObjCForCollectionStmt(ObjCForCollectionStmt *S, in RewriteObjCForCollectionStmt()
1481 assert(isa<ObjCForCollectionStmt>(Stmts.back()) && in RewriteObjCForCollectionStmt()
4523 if (const ObjCForCollectionStmt * CS = in IsDeclStmtInForeachHeader()
4524 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) in IsDeclStmtInForeachHeader()
4537 else if (isa<ObjCForCollectionStmt>(S)) { in RewriteFunctionBodyOrGlobalInitializer()
4643 if (ObjCForCollectionStmt *StmtForCollection = in RewriteFunctionBodyOrGlobalInitializer()
4644 dyn_cast<ObjCForCollectionStmt>(S)) in RewriteFunctionBodyOrGlobalInitializer()
H A DRewriteModernObjC.cpp362 Stmt *RewriteObjCForCollectionStmt(ObjCForCollectionStmt *S,
1608 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteBreakStmt()
1638 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteContinueStmt()
1683 Stmt *RewriteModernObjC::RewriteObjCForCollectionStmt(ObjCForCollectionStmt *S, in RewriteObjCForCollectionStmt()
1686 assert(isa<ObjCForCollectionStmt>(Stmts.back()) && in RewriteObjCForCollectionStmt()
5382 if (const ObjCForCollectionStmt * CS = in IsDeclStmtInForeachHeader()
5383 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) in IsDeclStmtInForeachHeader()
5396 else if (isa<ObjCForCollectionStmt>(S)) { in RewriteFunctionBodyOrGlobalInitializer()
5522 if (ObjCForCollectionStmt *StmtForCollection = in RewriteFunctionBodyOrGlobalInitializer()
5523 dyn_cast<ObjCForCollectionStmt>(S)) in RewriteFunctionBodyOrGlobalInitializer()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td46 def ObjCForCollectionStmt : StmtNode<Stmt>;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjC.cpp117 return new (Context) ObjCForCollectionStmt(First, CollectionExprResult.get(), in ActOnObjCForCollectionStmt()
196 ObjCForCollectionStmt *ForStmt = cast<ObjCForCollectionStmt>(S); in FinishObjCForCollectionStmt()
H A DJumpDiagnostics.cpp321 auto *CS = cast<ObjCForCollectionStmt>(S); in BuildScopeInformation()
H A DSemaAvailability.cpp753 return cast<ObjCForCollectionStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt()
H A DSemaStmt.cpp2188 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
3219 if (isa<ObjCForCollectionStmt>(S)) in FinishCXXForRangeStmt()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1617 void ASTStmtReader::VisitObjCForCollectionStmt(ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
3485 S = new (Context) ObjCForCollectionStmt(Empty); in ReadStmtFromStream()

12