Searched refs:LastStmt (Results 1 – 12 of 12) sorted by relevance
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 350 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()
|
D | CodeGenFunction.cpp | 646 auto LastStmt = CS->body_rbegin(); in endsWithReturn() local 647 if (LastStmt != CS->body_rend()) in endsWithReturn() 648 return isa<ReturnStmt>(*LastStmt); in endsWithReturn()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | CoreEngine.cpp | 246 if (Optional<CFGStmt> LastStmt = LastElement.getAs<CFGStmt>()) { in HandleBlockEdge() local 247 RS = dyn_cast<ReturnStmt>(LastStmt->getStmt()); in HandleBlockEdge()
|
D | ExprEngine.cpp | 2125 const Stmt *LastStmt = CS->getStmt(); in ResolveCondition() local 2126 assert(LastStmt == Condition || LastStmt == getRightmostLeaf(Condition)); in ResolveCondition() 2127 return LastStmt; in ResolveCondition()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 998 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()
|
D | SemaStmt.cpp | 1584 Stmt *LastStmt = CS->body_back(); in CheckForRedundantIteration() local 1585 if (!LastStmt) return; in CheckForRedundantIteration() 1591 if (!ProcessIterationStmt(S, LastStmt, LastIncrement, LastDRE)) return; in CheckForRedundantIteration()
|
D | SemaExpr.cpp | 11642 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/ |
D | ExprEngine.cpp | 1571 const Stmt *LastStmt = CS->getStmt(); in ResolveCondition() local 1572 assert(LastStmt == Condition || LastStmt == getRightmostLeaf(Condition)); in ResolveCondition() 1573 return LastStmt; in ResolveCondition()
|
/external/llvm-project/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 1145 const Stmt *LastStmt = getLastStmt(*P); in checkFallThroughIntoBlock() local 1146 if (const AttributedStmt *AS = asFallThroughAttr(LastStmt)) { in checkFallThroughIntoBlock() 1152 if (!LastStmt) { // This block contains no executable statements. in checkFallThroughIntoBlock()
|
D | SemaStmt.cpp | 1770 Stmt *LastStmt = CS->body_back(); in CheckForRedundantIteration() local 1771 if (!LastStmt) return; in CheckForRedundantIteration() 1777 if (!ProcessIterationStmt(S, LastStmt, LastIncrement, LastDRE)) return; in CheckForRedundantIteration()
|
D | SemaExpr.cpp | 14884 if (const auto *LastStmt = in BuildStmtExpr() local 14886 if (const Expr *Value = LastStmt->getExprStmt()) { in BuildStmtExpr()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 642 auto LastStmt = CS->body_rbegin(); in endsWithReturn() local 643 if (LastStmt != CS->body_rend()) in endsWithReturn() 644 return isa<ReturnStmt>(*LastStmt); in endsWithReturn()
|