| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
- adding enum constants & instance data to Stmt.
- adding classof() functions to all Stmt's.
- modifying contructors to pass the appropriate enum as an arg.
Also tightened up a couple "void *" declarations/casts for arrays.
llvm-svn: 39343
|
|
|
|
|
|
|
|
|
| |
IntegerConstant->StringLiteral).
clang still compiled/linked/ran properly...simply a confusing name regression.
From now on I'll make sure I run "cvs diff" before committing any changes!
llvm-svn: 39342
|
|
|
|
| |
llvm-svn: 39137
|
|
|
|
| |
llvm-svn: 39118
|
|
|
|
| |
llvm-svn: 39111
|
|
|
|
|
|
| |
Remove all dump_impl methods from Stmt subclasses
llvm-svn: 39108
|
|
|
|
|
|
| |
and should be implemented with an ASTBuilder subclass anyway.
llvm-svn: 39107
|
|
|
|
| |
llvm-svn: 39105
|
|
|
|
| |
llvm-svn: 39104
|
|
|
|
| |
llvm-svn: 39050
|
|
|
|
| |
llvm-svn: 39045
|
|
|
|
| |
llvm-svn: 38960
|
|
|
|
| |
llvm-svn: 38951
|
|
|
|
| |
llvm-svn: 38950
|
|
|
|
| |
llvm-svn: 38949
|
|
|
|
| |
llvm-svn: 38948
|
|
|
|
| |
llvm-svn: 38945
|
|
|
|
| |
llvm-svn: 38944
|
|
|
|
| |
llvm-svn: 38943
|
|
llvm-svn: 38940
|