Home
last modified time | relevance | path

Searched refs:ObjCForCollectionStmt (Results 1 – 25 of 32) 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.cpp213 return DirectChild == cast<ObjCForCollectionStmt>(P)->getCollection(); in isConsumedExpr()
H A DStmtProfile.cpp395 void StmtProfiler::VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
H A DStmtPrinter.cpp420 void StmtPrinter::VisitObjCForCollectionStmt(ObjCForCollectionStmt *Node) { in VisitObjCForCollectionStmt()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h65 class ObjCForCollectionStmt; variable
519 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S,
901 const ObjCForCollectionStmt *O,
905 removeIterationState(ProgramStateRef State, const ObjCForCollectionStmt *O,
909 const ObjCForCollectionStmt *O,
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBasicObjCFoundationChecks.cpp814 : public Checker<check::PostStmt<ObjCForCollectionStmt>,
825 void checkPostStmt(const ObjCForCollectionStmt *FCS, CheckerContext &C) const;
862 const ObjCForCollectionStmt *FCS) { in checkCollectionNonNil()
888 const ObjCForCollectionStmt *FCS) { in checkElementNonNil()
952 const ObjCForCollectionStmt *FCS, in assumeCollectionNonEmpty()
963 const ObjCForCollectionStmt *FCS) { in alreadyExecutedAtLeastOneLoopIteration()
981 void ObjCLoopChecker::checkPostStmt(const ObjCForCollectionStmt *FCS, in checkPostStmt()
H A DTraversalChecker.cpp40 const Stmt *Parent = dyn_cast<ObjCForCollectionStmt>(Condition); in checkBranchCondition()
/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/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp42 if (const auto *ObjCFor = dyn_cast<ObjCForCollectionStmt>(S)) in isSemicolonRequiredAfter()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp701 if (cast<ObjCForCollectionStmt>(Parent)->getBody() == S) in getEnclosingStmtLocation()
1077 const auto *FC = cast<ObjCForCollectionStmt>(Term); in isInLoopBody()
1120 if (const auto *FS = dyn_cast_or_null<ObjCForCollectionStmt>(S)) in getTerminatorCondition()
1240 if (!isa<ObjCForCollectionStmt>(PS->getStmt())) { in generatePathDiagnosticsForNode()
1265 else if (const auto *OFS = dyn_cast<ObjCForCollectionStmt>(Loop)) { in generatePathDiagnosticsForNode()
1303 if (isa<ObjCForCollectionStmt>(Term)) { in generatePathDiagnosticsForNode()
1408 return cast<ObjCForCollectionStmt>(S)->getElement() == Cond; in isConditionForTerminator()
1564 if (!isa<ForStmt, WhileStmt, IfStmt, ObjCForCollectionStmt, in simplifySimpleBranches()
1920 const auto *FS = dyn_cast_or_null<ObjCForCollectionStmt>(level3); in optimizeEdges()
H A DExprEngine.cpp2323 VisitObjCForCollectionStmt(cast<ObjCForCollectionStmt>(S), Pred, Dst); in Visit()
2678 std::pair<const ObjCForCollectionStmt *, const LocationContext *>;
2683 ProgramStateRef State, const ObjCForCollectionStmt *O, in REGISTER_MAP_WITH_PROGRAMSTATE()
2691 const ObjCForCollectionStmt *O, in removeIterationState()
2698 const ObjCForCollectionStmt *O, in hasMoreIteration()
2710 if (const auto *ObjCFor = dyn_cast<ObjCForCollectionStmt>(Condition)) { in assumeCondition()
2800 assert(!isa<ObjCForCollectionStmt>(Condition)); in processBranch()
2806 assert(!isa<ObjCForCollectionStmt>(Condition)); in processBranch()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp129 bool VisitObjCForCollectionStmt(ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
/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.h76 class ObjCForCollectionStmt; variable
3570 void EmitObjCForCollectionStmt(const ObjCForCollectionStmt &S);
H A DCoverageMappingGen.cpp1788 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
/freebsd/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);
2360 return VisitObjCForCollectionStmt(cast<ObjCForCollectionStmt>(S)); in Visit()
3694 CFGBlock *CFGBuilder::VisitObjCForCollectionStmt(ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
6255 if (isa<ObjCForCollectionStmt>(Cond) || isa<DeclStmt>(Cond)) in getLastCondition()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td45 def ObjCForCollectionStmt : StmtNode<Stmt>;
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp363 Stmt *RewriteObjCForCollectionStmt(ObjCForCollectionStmt *S,
1609 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteBreakStmt()
1639 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteContinueStmt()
1684 Stmt *RewriteModernObjC::RewriteObjCForCollectionStmt(ObjCForCollectionStmt *S, in RewriteObjCForCollectionStmt()
1687 assert(isa<ObjCForCollectionStmt>(Stmts.back()) && in RewriteObjCForCollectionStmt()
5416 if (const ObjCForCollectionStmt * CS = in IsDeclStmtInForeachHeader()
5417 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) in IsDeclStmtInForeachHeader()
5430 else if (isa<ObjCForCollectionStmt>(S)) { in RewriteFunctionBodyOrGlobalInitializer()
5556 if (ObjCForCollectionStmt *StmtForCollection = in RewriteFunctionBodyOrGlobalInitializer()
5557 dyn_cast<ObjCForCollectionStmt>(S)) in RewriteFunctionBodyOrGlobalInitializer()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjC.cpp116 return new (Context) ObjCForCollectionStmt(First, CollectionExprResult.get(), in ActOnObjCForCollectionStmt()
200 ObjCForCollectionStmt *ForStmt = cast<ObjCForCollectionStmt>(S); in FinishObjCForCollectionStmt()
H A DJumpDiagnostics.cpp322 auto *CS = cast<ObjCForCollectionStmt>(S); in BuildScopeInformation()
H A DSemaAvailability.cpp710 return cast<ObjCForCollectionStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt()
H A DSemaStmt.cpp2089 void VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
3112 if (isa<ObjCForCollectionStmt>(S)) in FinishCXXForRangeStmt()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1598 void ASTStmtReader::VisitObjCForCollectionStmt(ObjCForCollectionStmt *S) { in VisitObjCForCollectionStmt()
3354 S = new (Context) ObjCForCollectionStmt(Empty); in ReadStmtFromStream()

12