Lines Matching defs:Stmts
71 llvm::errs() << " " << sum << " stmts/exprs total.\n";
255 CompoundStmt::CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts,
258 CompoundStmtBits.NumStmts = Stmts.size();
259 assert(CompoundStmtBits.NumStmts == Stmts.size() &&
262 if (Stmts.size() == 0) {
267 Body = new (C) Stmt*[Stmts.size()];
268 std::copy(Stmts.begin(), Stmts.end(), Body);
271 void CompoundStmt::setStmts(const ASTContext &C, Stmt **Stmts,
278 memcpy(Body, Stmts, sizeof(Stmt *) * NumStmts);
723 Stmt **Stmts = getStmts();
724 Stmts[0] = atTryStmt;
726 Stmts[I + 1] = CatchStmts[I];
729 Stmts[NumCatchStmts + 1] = atFinallyStmt;
783 Stmt **Stmts = reinterpret_cast<Stmt **>(this + 1);
784 Stmts[0] = tryBlock;
785 std::copy(handlers.begin(), handlers.end(), Stmts + 1);