diff options
author | Alexander Kornienko <alexfh@google.com> | 2013-01-07 17:53:08 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2013-01-07 17:53:08 +0000 |
commit | c3cd2b0d538e4db78f1bcbedd0085e2005ce5c51 (patch) | |
tree | 0529c5ef39bb2b560eefbda8a2b45a340eee87b1 /test/Tooling | |
parent | 07fc1ba7553f2f5bf26984091197311decd9028e (diff) |
Implement Attr dumping for -ast-dump.
http://llvm-reviews.chandlerc.com/D234
Patch by Philip Craig!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171760 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Tooling')
-rw-r--r-- | test/Tooling/clang-check-ast-dump.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Tooling/clang-check-ast-dump.cpp b/test/Tooling/clang-check-ast-dump.cpp index 90827e10b7..7425b7f875 100644 --- a/test/Tooling/clang-check-ast-dump.cpp +++ b/test/Tooling/clang-check-ast-dump.cpp @@ -31,7 +31,8 @@ // RUN: clang-check -ast-dump -ast-dump-filter test_namespace::TheClass::n "%s" -- 2>&1 | FileCheck -check-prefix CHECK-ATTR %s // CHECK-ATTR: test_namespace // CHECK-ATTR-NEXT: (FieldDecl{{.*}}n -// FIXME: attribute dumping not implemented yet +// CHECK-ATTR-NEXT: (AlignedAttr +// CHECK-ATTR-NEXT: (BinaryOperator // // RUN: clang-check -ast-dump -ast-dump-filter test_namespace::AfterNullNode "%s" -- 2>&1 | FileCheck -check-prefix CHECK-AFTER-NULL %s // CHECK-AFTER-NULL: class AfterNullNode |