diff options
author | Nico Weber <nicolasweber@gmx.de> | 2012-12-29 20:03:39 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2012-12-29 20:03:39 +0000 |
commit | d36aa359e2f45cd22c7366a015ad94de08044dbb (patch) | |
tree | e62717815d76fb34c6b7b78681b038fd778f7693 /include/clang/AST/Stmt.h | |
parent | 5ba0c8e4077902f53e5f3e8271e470a1d8c1c074 (diff) | |
download | clang-d36aa359e2f45cd22c7366a015ad94de08044dbb.tar.gz |
ArrayRefize a CompoundStmt constructor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/Stmt.h')
-rw-r--r-- | include/clang/AST/Stmt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/Stmt.h b/include/clang/AST/Stmt.h index b1233816e0..ad3889185f 100644 --- a/include/clang/AST/Stmt.h +++ b/include/clang/AST/Stmt.h @@ -537,7 +537,7 @@ class CompoundStmt : public Stmt { Stmt** Body; SourceLocation LBracLoc, RBracLoc; public: - CompoundStmt(ASTContext &C, Stmt **StmtStart, unsigned NumStmts, + CompoundStmt(ASTContext &C, ArrayRef<Stmt*> Stmts, SourceLocation LB, SourceLocation RB); // \brief Build an empty compound statment with a location. |