Searched refs:LastStmt (Results 1 – 6 of 6) sorted by relevance
350 const Stmt *LastStmt = S.body_back(); in EmitCompoundStmtWithoutScope() local351 while (const LabelStmt *LS = dyn_cast<LabelStmt>(LastStmt)) { in EmitCompoundStmtWithoutScope()353 LastStmt = LS->getSubStmt(); in EmitCompoundStmtWithoutScope()358 QualType ExprTy = cast<Expr>(LastStmt)->getType(); in EmitCompoundStmtWithoutScope()360 EmitAggExpr(cast<Expr>(LastStmt), AggSlot); in EmitCompoundStmtWithoutScope()366 EmitAnyExprToMem(cast<Expr>(LastStmt), RetAlloca, Qualifiers(), in EmitCompoundStmtWithoutScope()
646 auto LastStmt = CS->body_rbegin(); in endsWithReturn() local647 if (LastStmt != CS->body_rend()) in endsWithReturn()648 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()
1584 Stmt *LastStmt = CS->body_back(); in CheckForRedundantIteration() local1585 if (!LastStmt) return; in CheckForRedundantIteration()1591 if (!ProcessIterationStmt(S, LastStmt, LastIncrement, LastDRE)) return; in CheckForRedundantIteration()
11642 Stmt *LastStmt = Compound->body_back(); in ActOnStmtExpr() local11645 while (LabelStmt *Label = dyn_cast<LabelStmt>(LastStmt)) { in ActOnStmtExpr()11647 LastStmt = Label->getSubStmt(); in ActOnStmtExpr()11650 if (Expr *LastE = dyn_cast<Expr>(LastStmt)) { in ActOnStmtExpr()
1571 const Stmt *LastStmt = CS->getStmt(); in ResolveCondition() local1572 assert(LastStmt == Condition || LastStmt == getRightmostLeaf(Condition)); in ResolveCondition()1573 return LastStmt; in ResolveCondition()