diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-04 18:24:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-04 18:24:58 +0000 |
commit | 2b19a65864ea0a3913e2febefe84ea05b862034d (patch) | |
tree | 8ce0f3b895a238676c37c17561cc85a143def63e | |
parent | 4b6e4bb25ddc657fa05c307233c59bc3bb959c25 (diff) | |
download | bcm5719-llvm-2b19a65864ea0a3913e2febefe84ea05b862034d.tar.gz bcm5719-llvm-2b19a65864ea0a3913e2febefe84ea05b862034d.zip |
fixes suggested by Sebastian!
llvm-svn: 66044
-rw-r--r-- | clang/lib/Parse/ParseStmt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Parse/ParseStmt.cpp b/clang/lib/Parse/ParseStmt.cpp index 38a3aaf13c4..208338a71a4 100644 --- a/clang/lib/Parse/ParseStmt.cpp +++ b/clang/lib/Parse/ParseStmt.cpp @@ -238,7 +238,7 @@ Parser::OwningStmtResult Parser::ParseCaseStatement() { // // Parsing this naively works, but is both inefficient and can cause us to run // out of stack space in our recursive descent parser. As a special case, - // flatten this recursion into an interative loop. This is complex and gross, + // flatten this recursion into an iterative loop. This is complex and gross, // but all the grossness is constrained to ParseCaseStatement (and some // wierdness in the actions), so this is just local grossness :). @@ -330,7 +330,7 @@ Parser::OwningStmtResult Parser::ParseCaseStatement() { Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, move(SubStmt)); // Return the top level parsed statement tree. - return OwningStmtResult(Actions, TopLevelCase.release()); + return move(TopLevelCase); } /// ParseDefaultStatement |