Lines Matching refs:Body
1293 Stmt *Body) { in ActOnWhileStmt() argument
1304 DiagnoseUnusedExprResult(Body); in ActOnWhileStmt()
1306 if (isa<NullStmt>(Body)) in ActOnWhileStmt()
1309 return WhileStmt::Create(Context, CondVal.first, CondVal.second, Body, in ActOnWhileStmt()
1314 Sema::ActOnDoStmt(SourceLocation DoLoc, Stmt *Body, in ActOnDoStmt() argument
1335 DiagnoseUnusedExprResult(Body); in ActOnDoStmt()
1337 return new (Context) DoStmt(Body, Cond, DoLoc, WhileLoc, CondRParen); in ActOnDoStmt()
1511 Expr *Third, Stmt *Body) { in CheckForLoopConditionalStatement() argument
1538 DeclMatcher(S, Decls, Body).FoundDeclInUse()) in CheckForLoopConditionalStatement()
1607 BreakContinueFinder(Sema &S, const Stmt* Body) : in BreakContinueFinder() argument
1609 Visit(Body); in BreakContinueFinder()
1633 if (const Stmt *Body = S->getBody()) in VisitSwitchStmt() local
1634 Visit(Body); in VisitSwitchStmt()
1689 void CheckForRedundantIteration(Sema &S, Expr *Third, Stmt *Body) { in CheckForRedundantIteration() argument
1691 if (!Body || !Third) return; in CheckForRedundantIteration()
1698 CompoundStmt *CS = dyn_cast<CompoundStmt>(Body); in CheckForRedundantIteration()
1714 if (BreakContinueFinder(S, Body).ContinueFound()) return; in CheckForRedundantIteration()
1746 Stmt *Body) { in ActOnForStmt() argument
1772 Body); in ActOnForStmt()
1773 CheckForRedundantIteration(*this, third.get(), Body); in ActOnForStmt()
1784 DiagnoseUnusedExprResult(Body); in ActOnForStmt()
1786 if (isa<NullStmt>(Body)) in ActOnForStmt()
1791 Body, ForLoc, LParenLoc, RParenLoc); in ActOnForStmt()
3776 Stmt *Body) { in ActOnObjCAtCatchStmt() argument
3781 return new (Context) ObjCAtCatchStmt(AtLoc, RParen, Var, Body); in ActOnObjCAtCatchStmt()
3785 Sema::ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body) { in ActOnObjCAtFinallyStmt() argument
3786 return new (Context) ObjCAtFinallyStmt(AtLoc, Body); in ActOnObjCAtFinallyStmt()
3901 Sema::ActOnObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) { in ActOnObjCAutoreleasePoolStmt() argument
3903 return new (Context) ObjCAutoreleasePoolStmt(AtLoc, Body); in ActOnObjCAutoreleasePoolStmt()