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-decl.c | |
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-decl.c')
-rw-r--r-- | clang/test/Misc/ast-dump-decl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Misc/ast-dump-decl.c b/clang/test/Misc/ast-dump-decl.c index 71b4578add0..c74da29f6d6 100644 --- a/clang/test/Misc/ast-dump-decl.c +++ b/clang/test/Misc/ast-dump-decl.c @@ -7,8 +7,8 @@ int TestLocation; struct TestIndent { int x; }; -// CHECK: {{^\(RecordDecl.*TestIndent[^()]*$}} -// CHECK-NEXT: {{^ \(FieldDecl.*x[^()]*\)\)$}} +// CHECK: {{^}}RecordDecl{{.*TestIndent[^()]*$}} +// CHECK-NEXT: {{^}}`-FieldDecl{{.*x[^()]*$}} struct TestChildren { int x; |