Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp264 if (std::optional<CFGStmt> LastStmt = LastElement.getAs<CFGStmt>()) { in HandleBlockEdge() local
265 RS = dyn_cast<ReturnStmt>(LastStmt->getStmt()); in HandleBlockEdge()
H A DExprEngine.cpp2670 const Stmt *LastStmt = CS->getStmt(); in ResolveCondition() local
2671 assert(LastStmt == Condition || LastStmt == getRightmostLeaf(Condition)); in ResolveCondition()
2672 return LastStmt; in ResolveCondition()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp1448 const Stmt *LastStmt = nullptr; in VisitStmt() local
1456 if (LastStmt && HasTerminateStmt) { in VisitStmt()
1457 auto Gap = findGapAreaBetween(getEnd(LastStmt), getStart(Child)); in VisitStmt()
1465 LastStmt = Child; in VisitStmt()
H A DCodeGenFunction.cpp690 auto LastStmt = CS->body_rbegin(); in endsWithReturn() local
691 if (LastStmt != CS->body_rend()) in endsWithReturn()
692 return isa<ReturnStmt>(*LastStmt); in endsWithReturn()
/freebsd/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.cpp2121 Stmt *LastStmt = CS->body_back(); in CheckForRedundantIteration() local
2122 if (!LastStmt) return; in CheckForRedundantIteration()
2128 if (!ProcessIterationStmt(S, LastStmt, LastIncrement, LastDRE)) return; in CheckForRedundantIteration()
H A DSemaExpr.cpp15659 if (const auto *LastStmt = in BuildStmtExpr() local
15661 if (const Expr *Value = LastStmt->getExprStmt()) { in BuildStmtExpr()