Daniel Dunbar
5be028f842
Revert r92431, this code isn't dead and broke the ntfs build.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92493 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-04 18:47:06 +00:00
Douglas Gregor
8419fa3af9
Printing for using directives, e.g.,
...
using namespace std::debug;
Extended UsingDirectiveDecl to store the nested-name-specifier that
precedes the nominated namespace.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72614 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-30 06:31:56 +00:00
Douglas Gregor
6620a628b0
Never suppress specifiers when printing the parameters of a function
...
declaration.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72613 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-30 05:39:39 +00:00
Douglas Gregor
4fe0c8e9c7
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().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72597 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-30 00:08:05 +00:00
Zhongxing Xu
ba16be9d4f
Apply a patch which adds 'OriginalParmVar' to the DeclContextPrinter by Jon
...
Simons.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68436 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-05 02:04:38 +00:00
Daniel Dunbar
9034558f2f
Support member reference on ?: of struct type.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67603 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-24 02:38:23 +00:00
Daniel Dunbar
4e484b8134
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64197 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-10 03:03:30 +00:00
Daniel Dunbar
8b29a38778
Handle demotion of coerced arguments (as in void a(x) short x; { ... }).
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63726 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-04 07:22:24 +00:00
Nate Begeman
190d6a2539
A couple more vector component access fixes.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62443 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-18 02:01:21 +00:00
Daniel Dunbar
bd589e047f
Add coverage of part of getPrimaryDecl that was failing prior to
...
previous commit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57930 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-21 21:32:38 +00:00
Daniel Dunbar
63c3a5fcdd
Add some uses of PredefinedExpr to language coverage includes.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57744 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-17 23:04:32 +00:00
Daniel Dunbar
ea7a31fe21
Improve C language testing coverage.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57103 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-05 06:36:33 +00:00
Daniel Dunbar
417dd179b2
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57081 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-04 23:47:28 +00:00