From de5cc7d3d87eb654f11af27387279a3daf9d7382 Mon Sep 17 00:00:00 2001 From: Richard Trieu Date: Thu, 31 Jan 2013 01:44:26 +0000 Subject: 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 --- clang/test/Misc/ast-dump-decl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/test/Misc/ast-dump-decl.c') 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; -- cgit v1.2.3