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 | 26140c6399d4b14a224d44cf0102a1919d8dab04 (patch) | |
tree | 443841106da55aaa8607db76eda4276b08baa5e0 | |
parent | 7794bb8271d97bea5d0bf52f4f050fbfff1a7420 (diff) |
fixes suggested by Sebastian!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66044 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Parse/ParseStmt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Parse/ParseStmt.cpp b/lib/Parse/ParseStmt.cpp index 38a3aaf13c..208338a71a 100644 --- a/lib/Parse/ParseStmt.cpp +++ b/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 |