diff options
author | Richard Trieu <rtrieu@google.com> | 2013-01-31 01:44:26 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2013-01-31 01:44:26 +0000 |
commit | de5cc7d3d87eb654f11af27387279a3daf9d7382 (patch) | |
tree | d1943193b90683f81ea178ba93c3e6493a8eef61 /clang/test/Misc/ast-dump-attr.cpp | |
parent | 3ea7fc62ef388f0909c7fd2cdacd79a055f9518b (diff) | |
download | bcm5719-llvm-de5cc7d3d87eb654f11af27387279a3daf9d7382.tar.gz bcm5719-llvm-de5cc7d3d87eb654f11af27387279a3daf9d7382.zip |
Add indents to AST dumping and removed parenthesis from AST nodes.
Indents were given the color blue when outputting with color.
AST dumping now looks like this:
Node
|-Node
| `-Node
`-Node
`-Node
Compared to the previous:
(Node
(Node
(Node))
(Node
(Node)))
llvm-svn: 174022
Diffstat (limited to 'clang/test/Misc/ast-dump-attr.cpp')
-rw-r--r-- | clang/test/Misc/ast-dump-attr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Misc/ast-dump-attr.cpp b/clang/test/Misc/ast-dump-attr.cpp index b7d5bdba03d..3efcd098b37 100644 --- a/clang/test/Misc/ast-dump-attr.cpp +++ b/clang/test/Misc/ast-dump-attr.cpp @@ -7,8 +7,8 @@ __attribute__((unused)); int TestIndent __attribute__((unused)); -// CHECK: {{^\(VarDecl.*TestIndent[^()]*$}} -// CHECK-NEXT: {{^ \(UnusedAttr[^()]*\)\)$}} +// CHECK: {{^}}VarDecl{{.*TestIndent[^()]*$}} +// CHECK-NEXT: {{^}}`-UnusedAttr{{[^()]*$}} void TestAttributedStmt() { switch (1) { |