llvm-project/clang/Parse
Steve Naroff f1e53698a4 Bug #:
Submitted by:
Reviewed by:

Type Checking...round 2. This checkin "breaks" parsing carbon.h. I imagine
that this will be true for the next week or so. Nevertheless, this round of
changes includes the following:

- Hacked various Expr classes to pass the appropriate TypeRef. Still have
a few more classes to touch.
- Implement type checking for ParseArraySubscriptExpr and ParseMemberReferenceExpr.
- Added a debug hook to derive the class name for Stmt/Expr nodes. Currently a
linear search...could easily optimize if important.
- Changed the name of TaggedType->TagType. Now we have TagType and TagDecl (which
are easier to remember).
- Fixed a bug in StringLiteral conversion I did a couple weeks ago. hadError was
not initialized (oops).
- changed Sema::Diag to return true. This streamlines the type checking code
considerably.
- Added many diagnositics.

This should be it!

llvm-svn: 39361
2007-03-23 22:27:02 +00:00
..
DeclSpec.cpp Generalize DeclSpec::TypedefRep to allow it to hold any type representation. 2007-01-23 04:58:34 +00:00
Makefile Fix these to allow clang to be in any dir. 2006-10-26 04:56:55 +00:00
MinimalAction.cpp add accessors to DeclSpec, start moving clients over to use them. 2006-11-28 04:28:12 +00:00
ParseDecl.cpp C++: Added support for bool types. 2007-02-13 01:51:42 +00:00
ParseExpr.cpp Bug #: 2007-03-23 22:27:02 +00:00
ParseExprCXX.cpp C++: Added support for bool types. 2007-02-13 01:51:42 +00:00
ParseInit.cpp rename a bunch of files for better consistency 2006-11-05 07:46:30 +00:00
ParseObjc.cpp rename ParsedClassDeclaration -> ParsedObjcClassDeclaration. 2006-11-19 02:35:21 +00:00
ParseStmt.cpp Implement a FIXME: when a typedef is seen at statement scope, make sure to 2007-01-27 19:04:39 +00:00
Parser.cpp Do not use ParseCompoundStatement to parse the body of a function. This causes 2007-01-21 06:56:16 +00:00