- Aug 25, 2007
-
-
Chris Lattner authored
llvm-svn: 41403
-
Chris Lattner authored
ignore 'namespace foo {}' llvm-svn: 41400
-
Chris Lattner authored
llvm-svn: 41399
-
- Aug 23, 2007
-
-
Steve Naroff authored
- Cleanup "hack" comment and fix typos. - Use getLang().ObjC2 when appropriate. llvm-svn: 41333
-
Steve Naroff authored
Add helper functions Token::isObjCAtKeyword() and Token::getObjCKeywordID(). Convert all clients to the new cleaner, more robust API. llvm-svn: 41330
-
Anders Carlsson authored
As suggested by Chris, use MatchRHSPunctuation instead of manually looking for a right parenthesis when parsing @encode() and @protocol(). llvm-svn: 41321
-
Anders Carlsson authored
llvm-svn: 41320
-
Steve Naroff authored
With this commit, we now successfully parse "Cocoa.h"! llvm-svn: 41303
-
Steve Naroff authored
Add support for parsing protocols. Now we can parse quite a bit of "Foundation.h" (a couple bugs remain). llvm-svn: 41300
-
- Aug 22, 2007
-
-
Steve Naroff authored
Finish up method prototype parsing. Next step...starting installing class names into the type namespace (so we can start parsing Cocoa headers). llvm-svn: 41283
-
Steve Naroff authored
Add support for parsing method prototypes (and other stuff required by @interface). Still need to finish Parser::ParseObjCMethodDecl(). Before I do, I need to do a minor refactoring of ParseDeclarationOrFunctionDefinition(), to disallow function definitions. At the moment, @inteface allows function defs (which is incorrect). llvm-svn: 41275
-
Anders Carlsson authored
llvm-svn: 41273
-
Chris Lattner authored
llvm-svn: 41267
-
Chris Lattner authored
llvm-svn: 41265
-
Chris Lattner authored
the selection statements and iteration statements. Add spec citations. llvm-svn: 41264
-
Chris Lattner authored
This fixes test/Parser/control-scope.c llvm-svn: 41263
-
- Aug 21, 2007
-
-
Steve Naroff authored
Next step, method... llvm-svn: 41251
-
Anders Carlsson authored
llvm-svn: 41245
-
Chris Lattner authored
void foo() { int x if (x) { } } We now emit: a.c:5:3: error: parse error if (x) { ^ 1 diagnostic generated. instead of: a.c:5:3: error: parse error if (x) { ^ a.c:9:1: error: expected '}' ^ 2 diagnostics generated. llvm-svn: 41243
-
Anders Carlsson authored
llvm-svn: 41241
-
Anders Carlsson authored
llvm-svn: 41238
-
Steve Naroff authored
Added Parser::ParseStructDeclaration() as a result of refactoring Parser::ParseStructUnionBody(). Motivation: Objective-C can now share this rule. It also makes Parser::ParseStructUnionBody() a bit smaller/cleaner.. llvm-svn: 41201
-
- Aug 20, 2007
-
-
Steve Naroff authored
Start parsing ObjC classes/categories! Next step, refactor Parser::ParseStructUnionBody() so that struct declarations can be shared with Objective-C (for declaring instance variables). llvm-svn: 41200
-
- Aug 10, 2007
-
-
Chris Lattner authored
llvm-svn: 41004
-
- Aug 09, 2007
-
-
Chris Lattner authored
llvm-svn: 40963
-
Chris Lattner authored
llvm-svn: 40962
-
- Aug 03, 2007
-
-
Steve Naroff authored
Implement __builtin_choose_expr. llvm-svn: 40794
-
- Aug 02, 2007
-
-
Steve Naroff authored
Tidy up Parser::ParseTypeofSpecifier()...implement FIXME and minor restructure. llvm-svn: 40713
-
Steve Naroff authored
- Finish hooking up support for __builtin_types_compatible_p(). - Fix type printing code for recently added TypeOfExpr/TypeOfType. llvm-svn: 40700
-
Steve Naroff authored
Add AST/Sema support for __builtin_types_compatible_p (a GNU extension). Todo...still need to call the action from the parser... llvm-svn: 40693
-
- Aug 01, 2007
-
-
Steve Naroff authored
Tighten up Parser::ParseTypeofSpecifier(). Add some more tests to typeof.c. Also added a couple of missing "expect" attributes that caused the test to fail. llvm-svn: 40656
-
- Jul 31, 2007
-
-
Steve Naroff authored
Add parsing and AST support for GNU "typeof". Many small changes to lot's of files. Still some FIXME's, however the basic support is in place. llvm-svn: 40631
-
- Jul 25, 2007
-
-
Chris Lattner authored
1. Fix a todo in Parser::ParseTag, to recover better. On code like that in test/Sema/decl-invalid.c it causes us to return a single error instead of multiple. 2. Fix an error in Sema::ParseDeclarator, where it would crash if the declarator didn't have an identifier. Instead, diagnose the problem. 3. Start adding infrastructure to track the range of locations covered by a declspec or declarator. This is mostly implemented for declspec, but could be improved, it is missing for declarator. Thanks to Neil for pointing out this crash. llvm-svn: 40482
-
- Jul 24, 2007
-
-
Chris Lattner authored
llvm-svn: 40466
-
Chris Lattner authored
This implements test/Sema/stmt_exprs.c llvm-svn: 40465
-
- Jul 22, 2007
-
-
Anders Carlsson authored
llvm-svn: 40388
-
Chris Lattner authored
llvm-svn: 40381
-
- Jul 21, 2007
-
-
Anders Carlsson authored
llvm-svn: 40162
-
Chris Lattner authored
invalid arguments. llvm-svn: 40161
-
- Jul 20, 2007
-
-
Chris Lattner authored
Since that point is now long gone, we should rename LexerToken to Token, as it is the only kind of token we have. llvm-svn: 40105
-