Steve Naroff
e87026a08f
Allow front-end 'isa' access on object's of type 'id'.
...
Enhance test case to cover 'isa' access on interface types (clang produces an error, GCC produces a warning).
Still need back-end CodeGen for ObjCIsaExpr.
llvm-svn: 76979
2009-07-24 17:54:45 +00:00
Argyrios Kyrtzidis
eeaaead736
Read/write a CXXOperatorCallExpr from/to PCH files.
...
llvm-svn: 75598
2009-07-14 03:19:21 +00:00
Douglas Gregor
e4d00dd7f6
Fix PR 4489, a PCH crash during de-serialization.
...
llvm-svn: 74664
2009-07-01 23:29:14 +00:00
Fariborz Jahanian
e8918d52d1
Added writing and reading of the ConstQualAdded flag of
...
BlockDeclRefExpr to PCH.
llvm-svn: 73800
2009-06-20 00:02:26 +00:00
Chris Lattner
815b70efcd
add the location of the ')' in a do/while statement to DoStmt.
...
This fixes a source range problem reported by Olaf Krzikalla.
llvm-svn: 73266
2009-06-12 23:04:47 +00:00
Douglas Gregor
038c338949
Fix lots of PCH crashes caused by the new assertions in
...
llvm::SmallVector, using data() instead of &[0]. The PCH testsuite now
runs cleanly (again).
llvm-svn: 72292
2009-05-22 22:45:36 +00:00
Jay Foad
7d0479f2c2
Use v.data() instead of &v[0] when SmallVector v might be empty.
...
llvm-svn: 72210
2009-05-21 09:52:38 +00:00
Douglas Gregor
30776d419f
Template instantiation for IndirectGotoStmt. Now my life is complete.
...
llvm-svn: 71917
2009-05-16 00:20:29 +00:00
Douglas Gregor
2a2d00f041
Template instantiation for switch statements
...
llvm-svn: 71916
2009-05-15 23:57:33 +00:00
Douglas Gregor
5d13868263
Template instantiation for "for" loops
...
llvm-svn: 71901
2009-05-15 22:12:32 +00:00
Douglas Gregor
3daa82dba0
Template instantiation for do-while statements.
...
llvm-svn: 71899
2009-05-15 21:56:04 +00:00
Douglas Gregor
9d73cabf22
Template instantiation for "if" statements. Also:
...
- Skip semantic analysis of the "if" condition if it is type-dependent.
- Added the location of the "else" keyword into IfStmt, so that we can
provide it for type-checking after template instantiation.
llvm-svn: 71875
2009-05-15 18:53:42 +00:00
Douglas Gregor
6f00bf8ceb
Make the PCH reader use the diagnostics system for its complaints.
...
llvm-svn: 70330
2009-04-28 21:53:25 +00:00
Chris Lattner
8575daaa82
Teach PCH that ASTContext is optional. Move -parse-noop and -Eonly (so far)
...
processing to after PCH is loaded. -Eonly and -parse-noop are close to working
with PCH now but are not quite there yet.
llvm-svn: 70257
2009-04-27 21:45:14 +00:00
Chris Lattner
1de76db762
read all decls (and attributes and stmts/exprs referenced by the decl)
...
from the DeclsCursor.
llvm-svn: 70190
2009-04-27 05:58:23 +00:00
Chris Lattner
f4262539fa
change the interface to ReadStmt to force clients to pass a cursor in to read from.
...
llvm-svn: 70188
2009-04-27 05:41:06 +00:00
Chris Lattner
92ba5ffdfe
split stmt/expr deserialization out to PCHReaderStmt.cpp
...
llvm-svn: 70186
2009-04-27 05:14:47 +00:00