diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-05-25 17:56:43 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-05-25 17:56:43 +0000 |
| commit | edde8a99dfd2385c264bc7e97d779e07c025eec4 (patch) | |
| tree | 3e61c82940d60e0944b62e0cd6922fb64d0b57a1 /clang | |
| parent | ff384ad98119262c5cbf9b054cbe23749af8e4b7 (diff) | |
| download | bcm5719-llvm-edde8a99dfd2385c264bc7e97d779e07c025eec4.tar.gz bcm5719-llvm-edde8a99dfd2385c264bc7e97d779e07c025eec4.zip | |
make -ast-dump print something like this for declstmts:
(DeclStmt 0x3405550 <line:3:4, col:11>
0x34053a0 "int x")
instead of:
(DeclStmt 0x3405550 <line:3:4, col:11>
0x34053a0 "int x"
which has unbalanced parens (PR7228)
llvm-svn: 104620
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/lib/AST/StmtDumper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/StmtDumper.cpp b/clang/lib/AST/StmtDumper.cpp index a11e313fa8a..b388a3b18ff 100644 --- a/clang/lib/AST/StmtDumper.cpp +++ b/clang/lib/AST/StmtDumper.cpp @@ -66,8 +66,8 @@ namespace { DumpSubTree(*CI++); } } - OS << ')'; } + OS << ')'; } else { Indent(); OS << "<<<NULL>>>"; |

