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-comment.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-comment.cpp')
-rw-r--r-- | clang/test/Misc/ast-dump-comment.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Misc/ast-dump-comment.cpp b/clang/test/Misc/ast-dump-comment.cpp index 072348ca84a..4e84af01a51 100644 --- a/clang/test/Misc/ast-dump-comment.cpp +++ b/clang/test/Misc/ast-dump-comment.cpp @@ -7,8 +7,8 @@ int TestLocation; /// int TestIndent; -// CHECK: {{^\(VarDecl.*TestIndent[^()]*$}} -// CHECK-NEXT: {{^ \(FullComment.*>\)\)$}} +// CHECK: {{^VarDecl.*TestIndent[^()]*$}} +// CHECK-NEXT: {{^`-FullComment.*>$}} /// Aaa int Test_TextComment; |