diff options
author | Steve Naroff <snaroff@apple.com> | 2007-11-11 23:20:51 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2007-11-11 23:20:51 +0000 |
commit | b313fc32031741bf481147a6dda86b82bba9cedc (patch) | |
tree | c340fbdb6020e25acb781e002fbbee52d91d4059 /clang/Parse/ParseStmt.cpp | |
parent | bb87572d70a855e525e1325d8b544422641f4f09 (diff) | |
download | bcm5719-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.cpp | 2 |
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 |