aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-05-25 17:56:43 +0000
committerChris Lattner <sabre@nondot.org>2010-05-25 17:56:43 +0000
commita46325e7b9c07adcfcf25566ba6ccce033a63e61 (patch)
tree82fda0160843b9cd6068335053e33fa201bab9c3 /lib
parent52d0b594f62f3bba3813e0ed22c108e5938b8f9f (diff)
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) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104620 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/AST/StmtDumper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/StmtDumper.cpp b/lib/AST/StmtDumper.cpp
index a11e313fa8..b388a3b18f 100644
--- a/lib/AST/StmtDumper.cpp
+++ b/lib/AST/StmtDumper.cpp
@@ -66,8 +66,8 @@ namespace {
DumpSubTree(*CI++);
}
}
- OS << ')';
}
+ OS << ')';
} else {
Indent();
OS << "<<<NULL>>>";