Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp246 if (Optional<CFGStmt> LastStmt = LastElement.getAs<CFGStmt>()) { in HandleBlockEdge() local
247 RS = dyn_cast<ReturnStmt>(LastStmt->getStmt()); in HandleBlockEdge()
H A DExprEngine.cpp2130 const Stmt *LastStmt = CS->getStmt(); in ResolveCondition() local
2131 assert(LastStmt == Condition || LastStmt == getRightmostLeaf(Condition)); in ResolveCondition()
2132 return LastStmt; in ResolveCondition()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp965 const Stmt *LastStmt = nullptr; in VisitStmt() local
974 if (LastStmt && HasTerminateStmt && !dyn_cast<AttributedStmt>(Child)) { in VisitStmt()
975 auto Gap = findGapAreaBetween(getEnd(LastStmt), getStart(Child)); in VisitStmt()
983 LastStmt = Child; in VisitStmt()
H A DCodeGenFunction.cpp650 auto LastStmt = CS->body_rbegin(); in endsWithReturn() local
651 if (LastStmt != CS->body_rend()) in endsWithReturn()
652 return isa<ReturnStmt>(*LastStmt); in endsWithReturn()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp1147 const Stmt *LastStmt = getLastStmt(*P); in checkFallThroughIntoBlock() local
1148 if (const AttributedStmt *AS = asFallThroughAttr(LastStmt)) { in checkFallThroughIntoBlock()
1154 if (!LastStmt) { // This block contains no executable statements. in checkFallThroughIntoBlock()
H A DSemaStmt.cpp2050 Stmt *LastStmt = CS->body_back(); in CheckForRedundantIteration() local
2051 if (!LastStmt) return; in CheckForRedundantIteration()
2057 if (!ProcessIterationStmt(S, LastStmt, LastIncrement, LastDRE)) return; in CheckForRedundantIteration()
H A DSemaExpr.cpp15003 if (const auto *LastStmt = in BuildStmtExpr() local
15005 if (const Expr *Value = LastStmt->getExprStmt()) { in BuildStmtExpr()