diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-05-30 00:08:05 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-05-30 00:08:05 +0000 |
commit | 4fe0c8e9c76b96e7aff21696a40dacc09d0237bc (patch) | |
tree | 1b4253035fcbb699c4110f220609fc7f37e64ca0 /test/Coverage/c-language-features.inc | |
parent | 9e8a72291465488e734c8aa5e20142d8b3cd981c (diff) |
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
Diffstat (limited to 'test/Coverage/c-language-features.inc')
-rw-r--r-- | test/Coverage/c-language-features.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Coverage/c-language-features.inc b/test/Coverage/c-language-features.inc index 67d5f3b6da..27fae62d3e 100644 --- a/test/Coverage/c-language-features.inc +++ b/test/Coverage/c-language-features.inc @@ -87,6 +87,7 @@ void f4(int a0, int a1, int a2, va_list ap) { int t0 = a0 ? a1 : a2; float t1 = (float) a0; ipair t2 = {1, 2}; + ipair t2a = { .second = 2 }; int t3 = sizeof(ipair); ipair t4; t4 = (ipair) {1, 2}; |