summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/ast-dump-decl.c
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2013-01-31 01:44:26 +0000
committerRichard Trieu <rtrieu@google.com>2013-01-31 01:44:26 +0000
commitde5cc7d3d87eb654f11af27387279a3daf9d7382 (patch)
treed1943193b90683f81ea178ba93c3e6493a8eef61 /clang/test/Misc/ast-dump-decl.c
parent3ea7fc62ef388f0909c7fd2cdacd79a055f9518b (diff)
downloadbcm5719-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.c4
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;
OpenPOWER on IntegriCloud