Searched refs:LastStmt (Results 1 – 6 of 6) sorted by relevance
292 const Stmt *LastStmt = S.body_back(); in EmitCompoundStmtWithoutScope() local293 while (const LabelStmt *LS = dyn_cast<LabelStmt>(LastStmt)) { in EmitCompoundStmtWithoutScope()295 LastStmt = LS->getSubStmt(); in EmitCompoundStmtWithoutScope()300 QualType ExprTy = cast<Expr>(LastStmt)->getType(); in EmitCompoundStmtWithoutScope()302 EmitAggExpr(cast<Expr>(LastStmt), AggSlot); in EmitCompoundStmtWithoutScope()308 EmitAnyExprToMem(cast<Expr>(LastStmt), RetAlloca, Qualifiers(), in EmitCompoundStmtWithoutScope()
579 auto LastStmt = CS->body_rbegin(); in endsWithReturn() local580 if (LastStmt != CS->body_rend()) in endsWithReturn()581 return isa<ReturnStmt>(*LastStmt); in endsWithReturn()
987 const Stmt *LastStmt = getLastStmt(*P); in checkFallThroughIntoBlock() local988 if (const AttributedStmt *AS = asFallThroughAttr(LastStmt)) { in checkFallThroughIntoBlock()994 if (!LastStmt) { // This block contains no executable statements. in checkFallThroughIntoBlock()
1561 Stmt *LastStmt = CS->body_back(); in CheckForRedundantIteration() local1562 if (!LastStmt) return; in CheckForRedundantIteration()1568 if (!ProcessIterationStmt(S, LastStmt, LastIncrement, LastDRE)) return; in CheckForRedundantIteration()
10810 Stmt *LastStmt = Compound->body_back(); in ActOnStmtExpr() local10813 while (LabelStmt *Label = dyn_cast<LabelStmt>(LastStmt)) { in ActOnStmtExpr()10815 LastStmt = Label->getSubStmt(); in ActOnStmtExpr()10818 if (Expr *LastE = dyn_cast<Expr>(LastStmt)) { in ActOnStmtExpr()
1508 const Stmt *LastStmt = CS->getStmt(); in ResolveCondition() local1509 assert(LastStmt == Condition || LastStmt == getRightmostLeaf(Condition)); in ResolveCondition()1510 return LastStmt; in ResolveCondition()