Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGStmt.cpp301 const Stmt *LastStmt = S.body_back(); in EmitCompoundStmtWithoutScope() local
302 while (const LabelStmt *LS = dyn_cast<LabelStmt>(LastStmt)) { in EmitCompoundStmtWithoutScope()
304 LastStmt = LS->getSubStmt(); in EmitCompoundStmtWithoutScope()
309 QualType ExprTy = cast<Expr>(LastStmt)->getType(); in EmitCompoundStmtWithoutScope()
311 EmitAggExpr(cast<Expr>(LastStmt), AggSlot); in EmitCompoundStmtWithoutScope()
317 EmitAnyExprToMem(cast<Expr>(LastStmt), RetAlloca, Qualifiers(), in EmitCompoundStmtWithoutScope()
HDCodeGenFunction.cpp581 auto LastStmt = CS->body_rbegin(); in endsWithReturn() local
582 if (LastStmt != CS->body_rend()) in endsWithReturn()
583 return isa<ReturnStmt>(*LastStmt); in endsWithReturn()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDAnalysisBasedWarnings.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()
HDSemaStmt.cpp1562 Stmt *LastStmt = CS->body_back(); in CheckForRedundantIteration() local
1563 if (!LastStmt) return; in CheckForRedundantIteration()
1569 if (!ProcessIterationStmt(S, LastStmt, LastIncrement, LastDRE)) return; in CheckForRedundantIteration()
HDSemaExpr.cpp10916 Stmt *LastStmt = Compound->body_back(); in ActOnStmtExpr() local
10919 while (LabelStmt *Label = dyn_cast<LabelStmt>(LastStmt)) { in ActOnStmtExpr()
10921 LastStmt = Label->getSubStmt(); in ActOnStmtExpr()
10924 if (Expr *LastE = dyn_cast<Expr>(LastStmt)) { in ActOnStmtExpr()
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDExprEngine.cpp1513 const Stmt *LastStmt = CS->getStmt(); in ResolveCondition() local
1514 assert(LastStmt == Condition || LastStmt == getRightmostLeaf(Condition)); in ResolveCondition()
1515 return LastStmt; in ResolveCondition()