llvm-project/clang/Parse
Steve Naroff cac26f4f5f 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.

llvm-svn: 43995
2007-11-11 17:19:15 +00:00
..
AttributeList.cpp move IdentifierTable.h from liblex to libbasic. 2007-10-07 08:58:51 +00:00
DeclSpec.cpp Add parsing and AST support for GNU "typeof". 2007-07-31 12:34:36 +00:00
Makefile Fix these to allow clang to be in any dir. 2006-10-26 04:56:55 +00:00
MinimalAction.cpp Implement ObjC built-in types in MinimalAction. 2007-10-31 20:55:39 +00:00
ParseDecl.cpp More infrastructure to recognize objective-c's type qualifiers (in,inout, etc.) 2007-10-31 21:59:43 +00:00
ParseDeclCXX.cpp switch some more of the parser over to using Token::is and isNot 2007-10-09 17:33:22 +00:00
ParseExpr.cpp Fix a parser bug with message expressions - need to call ParsePostfixExpressionSuffix(). 2007-10-15 20:55:58 +00:00
ParseExprCXX.cpp switch more code to use Token::is/isNot where possible. 2007-10-09 17:41:39 +00:00
ParseInit.cpp Fix a recovery bug Fariborz and I noticed yesterday. We were producing: 2007-10-25 17:27:01 +00:00
ParseObjc.cpp This is the last 5% of the solution to teaching Sema::ActOnInstanceMessage() about private methods (r43989). 2007-11-11 17:19:15 +00:00
ParseStmt.cpp Refactored parsing of main function body for reuse by objective-c methods. 2007-11-08 19:01:26 +00:00
Parser.cpp This is the last 5% of the solution to teaching Sema::ActOnInstanceMessage() about private methods (r43989). 2007-11-11 17:19:15 +00:00