aboutsummaryrefslogtreecommitdiff
path: root/lib/Parse/ParseObjc.cpp
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2008-12-13 16:23:55 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2008-12-13 16:23:55 +0000
commit798d119415323ebcd029ffe1e0fb442a4ca8adbb (patch)
treea1b5716617936cdada1e20cc771a8edbbfdf063a /lib/Parse/ParseObjc.cpp
parent1d922960e083906a586609ac6978678147250177 (diff)
Some utilities for using the smart pointers in Actions, especially Sema. Convert a few functions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseObjc.cpp')
-rw-r--r--lib/Parse/ParseObjc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Parse/ParseObjc.cpp b/lib/Parse/ParseObjc.cpp
index 994e783741..5f2ebad6db 100644
--- a/lib/Parse/ParseObjc.cpp
+++ b/lib/Parse/ParseObjc.cpp
@@ -1364,12 +1364,12 @@ Parser::DeclTy *Parser::ParseObjCMethodDefinition() {
// If the function body could not be parsed, make a bogus compoundstmt.
if (FnBody.isInvalid())
FnBody = Actions.ActOnCompoundStmt(BraceLoc, BraceLoc, 0, 0, false);
-
+
// Leave the function body scope.
BodyScope.Exit();
-
+
// TODO: Pass argument information.
- Actions.ActOnFinishFunctionBody(MDecl, FnBody.release());
+ Actions.ActOnFinishFunctionBody(MDecl, move_convert(FnBody));
return MDecl;
}