From edde8a99dfd2385c264bc7e97d779e07c025eec4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 25 May 2010 17:56:43 +0000 Subject: [PATCH] make -ast-dump print something like this for declstmts: (DeclStmt 0x3405550 0x34053a0 "int x") instead of: (DeclStmt 0x3405550 0x34053a0 "int x" which has unbalanced parens (PR7228) llvm-svn: 104620 --- clang/lib/AST/StmtDumper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/AST/StmtDumper.cpp b/clang/lib/AST/StmtDumper.cpp index a11e313fa8ae..b388a3b18ffa 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 << "<<>>";