hanchenye-llvm-project/clang/Parse
Chris Lattner 02c0439a44 Fix a couple of bugs, add some new cool stuff.
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
2007-07-25 00:24:17 +00:00
..
AttributeList.cpp Finally bite the bullet and make the major change: split the clang namespace 2007-06-15 23:05:46 +00:00
DeclSpec.cpp Fix a couple of bugs, add some new cool stuff. 2007-07-25 00:24:17 +00:00
Makefile Fix these to allow clang to be in any dir. 2006-10-26 04:56:55 +00:00
MinimalAction.cpp Finally bite the bullet and make the major change: split the clang namespace 2007-06-15 23:05:46 +00:00
ParseDecl.cpp Fix a couple of bugs, add some new cool stuff. 2007-07-25 00:24:17 +00:00
ParseExpr.cpp implement ast building and trivial semantic analysis of stmt exprs. 2007-07-24 16:58:17 +00:00
ParseExprCXX.cpp Finally bite the bullet and make the major change: split the clang namespace 2007-06-15 23:05:46 +00:00
ParseInit.cpp At one point there were going to be lexer and parser tokens. 2007-07-20 16:59:19 +00:00
ParseObjc.cpp Finally bite the bullet and make the major change: split the clang namespace 2007-06-15 23:05:46 +00:00
ParseStmt.cpp Refactor switch analysis to make it possible to detect duplicate case values 2007-07-22 07:07:56 +00:00
Parser.cpp Fix a comment, patch by Kevin Andre! 2007-07-24 17:03:04 +00:00