diff options
author | Steve Naroff <snaroff@apple.com> | 2007-11-11 17:19:15 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2007-11-11 17:19:15 +0000 |
commit | 0416fb9f379b49abb3eb0c1cb2ca75107e5a71d1 (patch) | |
tree | bb9c9236a7ba43f551a2e19a7ba7652d905e3f84 /Parse/Parser.cpp | |
parent | d848a3867794f4a9297bced70178834936e59d3d (diff) |
This is the last 5% of the solution to teaching Sema::ActOnInstanceMessage() about private methods (r43989).
While the diff is large, the idea is very simple. When we parse method definitions (in an @implementation), we need to add them incrementally (rather than wait until the @end).
Other details...
- Renamed Sema::ActOnAddMethodsToObjcDecl() to Sema::ActOnAtEnd(). The methods are now optional arguments.
- Removed Parser::AllImplMethods (a nice cleanup).
- Added location info to ObjcImplementationDecl (since we will need it very soon:-)
- Modified message.m test to no longer allow the bogus diagnostic.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43995 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Parse/Parser.cpp')
-rw-r--r-- | Parse/Parser.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Parse/Parser.cpp b/Parse/Parser.cpp index 1f8e016bfe..bfe342d26a 100644 --- a/Parse/Parser.cpp +++ b/Parse/Parser.cpp @@ -23,7 +23,6 @@ Parser::Parser(Preprocessor &pp, Action &actions) NumCachedScopes = 0; ParenCount = BracketCount = BraceCount = 0; ObjcImpDecl = 0; - AllImplMethods.clear(); } /// Out-of-line virtual destructor to provide home for Action class. |