Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGStmt.cpp292 const Stmt *LastStmt = S.body_back(); in EmitCompoundStmtWithoutScope() local
293 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()
DCodeGenFunction.cpp579 auto LastStmt = CS->body_rbegin(); in endsWithReturn() local
580 if (LastStmt != CS->body_rend()) in endsWithReturn()
581 return isa<ReturnStmt>(*LastStmt); in endsWithReturn()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp987 const Stmt *LastStmt = getLastStmt(*P); in checkFallThroughIntoBlock() local
988 if (const AttributedStmt *AS = asFallThroughAttr(LastStmt)) { in checkFallThroughIntoBlock()
994 if (!LastStmt) { // This block contains no executable statements. in checkFallThroughIntoBlock()
DSemaStmt.cpp1561 Stmt *LastStmt = CS->body_back(); in CheckForRedundantIteration() local
1562 if (!LastStmt) return; in CheckForRedundantIteration()
1568 if (!ProcessIterationStmt(S, LastStmt, LastIncrement, LastDRE)) return; in CheckForRedundantIteration()
DSemaExpr.cpp10810 Stmt *LastStmt = Compound->body_back(); in ActOnStmtExpr() local
10813 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()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1508 const Stmt *LastStmt = CS->getStmt(); in ResolveCondition() local
1509 assert(LastStmt == Condition || LastStmt == getRightmostLeaf(Condition)); in ResolveCondition()
1510 return LastStmt; in ResolveCondition()