Douglas Gregor
182319375a
Pretty printing and improved representation for namespace alias declarations
...
llvm-svn: 72616
2009-05-30 06:48:27 +00:00
Douglas Gregor
3bc6e4c72a
Printing for using directives, e.g.,
...
using namespace std::debug;
Extended UsingDirectiveDecl to store the nested-name-specifier that
precedes the nominated namespace.
llvm-svn: 72614
2009-05-30 06:31:56 +00:00
Douglas Gregor
2d042f1cf4
Never suppress specifiers when printing the parameters of a function
...
declaration.
llvm-svn: 72613
2009-05-30 05:39:39 +00:00
Douglas Gregor
278f52ec29
Refactor and clean up the AST printer, so that it uses a DeclVisitor,
...
walks through DeclContexts properly, and prints more of the
information available in the AST. The functionality is still available
via -ast-print, -ast-dump, etc., and also via the new member functions
Decl::dump() and Decl::print().
llvm-svn: 72597
2009-05-30 00:08:05 +00:00
Douglas Gregor
7f5601e55f
AST XML dump, from Olaf Krzikalla!
...
llvm-svn: 72224
2009-05-21 20:55:50 +00:00
Daniel Dunbar
9b097a81fe
Simplify tests now that GNU runtime supports exception handling.
...
llvm-svn: 72021
2009-05-18 17:43:32 +00:00
Fariborz Jahanian
078cd52297
This patch fixes two bugs in the GNU Objective-C runtime implementation. One is a case in rethrowing exceptions where the C types don't match correctly (I already sent this patch to Daniel Dunbar, who found the bug, so it may have already been committed). The other fixes the case properties so that the methods generated as property accessors are added to the class structure correctly.
...
Patch by David Chisnall.
llvm-svn: 71980
2009-05-17 16:49:27 +00:00
Chris Lattner
91cb0eea67
remove obsolete tests.
...
llvm-svn: 69830
2009-04-22 22:06:26 +00:00
Daniel Dunbar
46285d8084
We no longer accept @defs with the non-fragile ABI.
...
llvm-svn: 69721
2009-04-21 21:16:23 +00:00
Zhongxing Xu
01a5beb8cd
Apply a patch which adds 'OriginalParmVar' to the DeclContextPrinter by Jon
...
Simons.
llvm-svn: 68436
2009-04-05 02:04:38 +00:00
Daniel Dunbar
bf1fe8c36c
Support member reference on ?: of struct type.
...
llvm-svn: 67603
2009-03-24 02:38:23 +00:00
Daniel Dunbar
a45cf5b6b0
Rename clang to clang-cc.
...
Tests and drivers updated, still need to shuffle dirs.
llvm-svn: 67602
2009-03-24 02:24:46 +00:00
Daniel Dunbar
4aacad1f93
Use not instead of ! in tests.
...
llvm-svn: 67601
2009-03-24 01:59:55 +00:00
Daniel Dunbar
9b2fdf05c0
Update test case.
...
llvm-svn: 67392
2009-03-20 19:34:03 +00:00
Fariborz Jahanian
391d4fc7f7
More super dot-syntax property implementation
...
when there is actually a property declaration
used in the dot-syntax.
llvm-svn: 67391
2009-03-20 19:18:21 +00:00
Daniel Dunbar
f804897ee9
Don't mangle names of local variables.
...
- For one thing, this adds unneeded overhead; for another, this
routine can be used to emit unnamed decls which we shouldn't try to
mangle.
llvm-svn: 66212
2009-03-05 22:59:19 +00:00
Daniel Dunbar
0007961241
Support va_arg on _Complex.
...
gcc compat test suite results (Darwin x86-32 & -64):
--
# of expected passes 1110
# of unexpected failures 74
# of unresolved testcases 168
# of unsupported tests 2
llvm-svn: 64197
2009-02-10 03:03:30 +00:00
Daniel Dunbar
6e3b7df125
Handle demotion of coerced arguments (as in void a(x) short x; { ... }).
...
llvm-svn: 63726
2009-02-04 07:22:24 +00:00
Daniel Dunbar
aa64e6807d
Force triple for this test case.
...
llvm-svn: 63699
2009-02-04 00:58:28 +00:00
Nate Begeman
7e5185b264
A couple more vector component access fixes.
...
llvm-svn: 62443
2009-01-18 02:01:21 +00:00
Fariborz Jahanian
5a3422f602
Patch to diagnose a variety of misuse of property
...
attributes. Example would be, readonly, assign or
assign, copy, etc.
llvm-svn: 60620
2008-12-06 01:12:43 +00:00
Chris Lattner
7464fc784e
disable these two tests, they crash and take a long time to run crashreporter etc.
...
llvm-svn: 59254
2008-11-13 18:45:47 +00:00
Daniel Dunbar
5043549666
Use #define trickery to de-XFAIL test/Coverage/codegen-gnu.m while
...
still getting coverage for non-IRgen cases.
llvm-svn: 58084
2008-10-24 08:42:52 +00:00
Daniel Dunbar
15fadeb9cf
Use #define trickery to de-XFAIL test/Coverage/codegen-next.m while
...
still getting coverage for non-IRgen cases.
llvm-svn: 58082
2008-10-24 08:39:46 +00:00
Daniel Dunbar
29fa8354fc
Add coverage of part of getPrimaryDecl that was failing prior to
...
previous commit.
llvm-svn: 57930
2008-10-21 21:32:38 +00:00
Daniel Dunbar
6ccea71c64
Add some uses of PredefinedExpr to language coverage includes.
...
llvm-svn: 57744
2008-10-17 23:04:32 +00:00
Daniel Dunbar
363a5c0a1b
Improve C language testing coverage.
...
llvm-svn: 57103
2008-10-05 06:36:33 +00:00
Daniel Dunbar
91d085e368
Coverage test for targets.
...
- This pushes us over 80% coverage of executable LOC.
llvm-svn: 57092
2008-10-05 01:04:25 +00:00
Daniel Dunbar
05d93dd73d
Improve codegen coverage tests.
...
- Hit debug info generation.
- Hit both ObjC runtimes.
llvm-svn: 57088
2008-10-05 00:31:54 +00:00
Daniel Dunbar
83f705ac20
Add coverage tests of C and Obj-C language features.
...
- AST printing, dumping, serialization, codegen.
- HTML printing.
- Parser callbacks.
Several of these are XFAIL because they trigger unimplemented code.
llvm-svn: 57081
2008-10-04 23:47:28 +00:00
Daniel Dunbar
23bd6cc156
Add test/Driver.
...
- env-include-paths.c is XFAIL as it exposed a bug.
Add test/Coverage.
- For tests which achieve code coverage but don't validate anything.
llvm-svn: 57070
2008-10-04 20:46:41 +00:00