Home
last modified time | relevance | path

Searched refs:LastStmt (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp276 if (std::optional<CFGStmt> LastStmt = LastElement.getAs<CFGStmt>()) { in HandleBlockEdge() local
277 RS = dyn_cast<ReturnStmt>(LastStmt->getStmt()); in HandleBlockEdge()
H A DExprEngine.cpp2658 const Stmt *LastStmt = CS->getStmt(); in ResolveCondition() local
2659 assert(LastStmt == Condition || LastStmt == getRightmostLeaf(Condition)); in ResolveCondition()
2660 return LastStmt; in ResolveCondition()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp1372 const Stmt *LastStmt = nullptr; in VisitStmt() local
1380 if (LastStmt && HasTerminateStmt) { in VisitStmt()
1381 auto Gap = findGapAreaBetween(getEnd(LastStmt), getStart(Child)); in VisitStmt()
1389 LastStmt = Child; in VisitStmt()
H A DCodeGenFunction.cpp645 auto LastStmt = CS->body_rbegin(); in endsWithReturn() local
646 if (LastStmt != CS->body_rend()) in endsWithReturn()
647 return isa<ReturnStmt>(*LastStmt); in endsWithReturn()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp1170 const Stmt *LastStmt = getLastStmt(*P); in checkFallThroughIntoBlock() local
1171 if (const AttributedStmt *AS = asFallThroughAttr(LastStmt)) { in checkFallThroughIntoBlock()
1177 if (!LastStmt) { // This block contains no executable statements. in checkFallThroughIntoBlock()
H A DSemaStmt.cpp2098 Stmt *LastStmt = CS->body_back(); in CheckForRedundantIteration() local
2099 if (!LastStmt) return; in CheckForRedundantIteration()
2105 if (!ProcessIterationStmt(S, LastStmt, LastIncrement, LastDRE)) return; in CheckForRedundantIteration()
H A DSemaExpr.cpp16665 if (const auto *LastStmt = in BuildStmtExpr() local
16667 if (const Expr *Value = LastStmt->getExprStmt()) { in BuildStmtExpr()