Lines Matching refs:Stmts
282 CompoundStmt::CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts, in CompoundStmt() argument
285 CompoundStmtBits.NumStmts = Stmts.size(); in CompoundStmt()
286 assert(CompoundStmtBits.NumStmts == Stmts.size() && in CompoundStmt()
289 if (Stmts.size() == 0) { in CompoundStmt()
294 Body = new (C) Stmt*[Stmts.size()]; in CompoundStmt()
295 std::copy(Stmts.begin(), Stmts.end(), Body); in CompoundStmt()
298 void CompoundStmt::setStmts(const ASTContext &C, ArrayRef<Stmt *> Stmts) { in setStmts() argument
301 CompoundStmtBits.NumStmts = Stmts.size(); in setStmts()
302 assert(CompoundStmtBits.NumStmts == Stmts.size() && in setStmts()
305 Body = new (C) Stmt*[Stmts.size()]; in setStmts()
306 std::copy(Stmts.begin(), Stmts.end(), Body); in setStmts()