Searched refs:LastStmt (Results 1 – 6 of 6) sorted by relevance
320 const Stmt *LastStmt = S.body_back(); in EmitCompoundStmtWithoutScope() local321 while (const LabelStmt *LS = dyn_cast<LabelStmt>(LastStmt)) { in EmitCompoundStmtWithoutScope()323 LastStmt = LS->getSubStmt(); in EmitCompoundStmtWithoutScope()328 QualType ExprTy = cast<Expr>(LastStmt)->getType(); in EmitCompoundStmtWithoutScope()330 EmitAggExpr(cast<Expr>(LastStmt), AggSlot); in EmitCompoundStmtWithoutScope()336 EmitAnyExprToMem(cast<Expr>(LastStmt), RetAlloca, Qualifiers(), in EmitCompoundStmtWithoutScope()
637 auto LastStmt = CS->body_rbegin(); in endsWithReturn() local638 if (LastStmt != CS->body_rend()) in endsWithReturn()639 return isa<ReturnStmt>(*LastStmt); in endsWithReturn()
998 const Stmt *LastStmt = getLastStmt(*P); in checkFallThroughIntoBlock() local999 if (const AttributedStmt *AS = asFallThroughAttr(LastStmt)) { in checkFallThroughIntoBlock()1005 if (!LastStmt) { // This block contains no executable statements. in checkFallThroughIntoBlock()
1563 Stmt *LastStmt = CS->body_back(); in CheckForRedundantIteration() local1564 if (!LastStmt) return; in CheckForRedundantIteration()1570 if (!ProcessIterationStmt(S, LastStmt, LastIncrement, LastDRE)) return; in CheckForRedundantIteration()
11109 Stmt *LastStmt = Compound->body_back(); in ActOnStmtExpr() local11112 while (LabelStmt *Label = dyn_cast<LabelStmt>(LastStmt)) { in ActOnStmtExpr()11114 LastStmt = Label->getSubStmt(); in ActOnStmtExpr()11117 if (Expr *LastE = dyn_cast<Expr>(LastStmt)) { in ActOnStmtExpr()
1555 const Stmt *LastStmt = CS->getStmt(); in ResolveCondition() local1556 assert(LastStmt == Condition || LastStmt == getRightmostLeaf(Condition)); in ResolveCondition()1557 return LastStmt; in ResolveCondition()