diff options
author | Robert Wilhelm <robert.wilhelm@gmx.net> | 2013-08-19 20:51:20 +0000 |
---|---|---|
committer | Robert Wilhelm <robert.wilhelm@gmx.net> | 2013-08-19 20:51:20 +0000 |
commit | 27b2c9a3529375989156bf8a50801b831a911ea5 (patch) | |
tree | 095c639715810b62880709814ada762723ed6d6f /clang/lib/Parse/ParseStmt.cpp | |
parent | f131c82b75f69da35236a482b43b5f9849821bb4 (diff) | |
download | bcm5719-llvm-27b2c9a3529375989156bf8a50801b831a911ea5.tar.gz bcm5719-llvm-27b2c9a3529375989156bf8a50801b831a911ea5.zip |
const'ify Sema::ActOnCompoundStmt by
changing Parameter of Sema::ActOnCompoundStmt from MutableArrayRef to
ArrayRef.
No functionality change intended.
llvm-svn: 188705
Diffstat (limited to 'clang/lib/Parse/ParseStmt.cpp')
-rw-r--r-- | clang/lib/Parse/ParseStmt.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/clang/lib/Parse/ParseStmt.cpp b/clang/lib/Parse/ParseStmt.cpp index b03891082f4..3b6a2656099 100644 --- a/clang/lib/Parse/ParseStmt.cpp +++ b/clang/lib/Parse/ParseStmt.cpp @@ -2394,8 +2394,7 @@ Decl *Parser::ParseFunctionStatementBody(Decl *Decl, ParseScope &BodyScope) { // If the function body could not be parsed, make a bogus compoundstmt. if (FnBody.isInvalid()) { Sema::CompoundScopeRAII CompoundScope(Actions); - FnBody = Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc, - MultiStmtArg(), false); + FnBody = Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc, None, false); } BodyScope.Exit(); @@ -2432,8 +2431,7 @@ Decl *Parser::ParseFunctionTryBlock(Decl *Decl, ParseScope &BodyScope) { // compound statement as the body. if (FnBody.isInvalid()) { Sema::CompoundScopeRAII CompoundScope(Actions); - FnBody = Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc, - MultiStmtArg(), false); + FnBody = Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc, None, false); } BodyScope.Exit(); |