Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGStmt.cpp350 const Stmt *LastStmt = S.body_back(); in EmitCompoundStmtWithoutScope() local
351 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()
DCodeGenFunction.cpp646 auto LastStmt = CS->body_rbegin(); in endsWithReturn() local
647 if (LastStmt != CS->body_rend()) in endsWithReturn()
648 return isa<ReturnStmt>(*LastStmt); in endsWithReturn()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp998 const Stmt *LastStmt = getLastStmt(*P); in checkFallThroughIntoBlock() local
999 if (const AttributedStmt *AS = asFallThroughAttr(LastStmt)) { in checkFallThroughIntoBlock()
1005 if (!LastStmt) { // This block contains no executable statements. in checkFallThroughIntoBlock()
DSemaStmt.cpp1584 Stmt *LastStmt = CS->body_back(); in CheckForRedundantIteration() local
1585 if (!LastStmt) return; in CheckForRedundantIteration()
1591 if (!ProcessIterationStmt(S, LastStmt, LastIncrement, LastDRE)) return; in CheckForRedundantIteration()
DSemaExpr.cpp11642 Stmt *LastStmt = Compound->body_back(); in ActOnStmtExpr() local
11645 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()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1571 const Stmt *LastStmt = CS->getStmt(); in ResolveCondition() local
1572 assert(LastStmt == Condition || LastStmt == getRightmostLeaf(Condition)); in ResolveCondition()
1573 return LastStmt; in ResolveCondition()