summaryrefslogtreecommitdiffstats
path: root/clang/Parse/ParseStmt.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-11-11 23:20:51 +0000
committerSteve Naroff <snaroff@apple.com>2007-11-11 23:20:51 +0000
commitb313fc32031741bf481147a6dda86b82bba9cedc (patch)
treec340fbdb6020e25acb781e002fbbee52d91d4059 /clang/Parse/ParseStmt.cpp
parentbb87572d70a855e525e1325d8b544422641f4f09 (diff)
downloadbcm5719-llvm-b313fc32031741bf481147a6dda86b82bba9cedc.tar.gz
bcm5719-llvm-b313fc32031741bf481147a6dda86b82bba9cedc.zip
Replace 2 method definition actions (ActOnFunctionDefBody, ActOnMethodDefBody) with 1 method definition action (ActOnFinishFunctionBody). I can't think of any reason that we would need two action hooks.
llvm-svn: 44000
Diffstat (limited to 'clang/Parse/ParseStmt.cpp')
-rw-r--r--clang/Parse/ParseStmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Parse/ParseStmt.cpp b/clang/Parse/ParseStmt.cpp
index 6836f10c584..cb2a6917190 100644
--- a/clang/Parse/ParseStmt.cpp
+++ b/clang/Parse/ParseStmt.cpp
@@ -1046,5 +1046,5 @@ Parser::DeclTy *Parser::ParseFunctionStatementBody(DeclTy *Decl,
ExitScope();
// TODO: Pass argument information.
- return Actions.ActOnFunctionDefBody(Decl, FnBody.Val);
+ return Actions.ActOnFinishFunctionBody(Decl, FnBody.Val);
} \ No newline at end of file
OpenPOWER on IntegriCloud