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
This commit is contained in:
Chris Lattner 2010-05-25 17:56:43 +00:00
parent ff384ad981
commit edde8a99df
1 changed files with 1 additions and 1 deletions

View File

@ -66,8 +66,8 @@ namespace {
DumpSubTree(*CI++);
}
}
OS << ')';
}
OS << ')';
} else {
Indent();
OS << "<<<NULL>>>";