commit | 962bad70f4277841cf6278306caa93ebce304b48 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sun Oct 16 16:30:34 2011 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sun Oct 16 16:30:34 2011 +0000 |
tree | f8e798ee4db25f43337848f01fcc09b276b9d3e1 | |
parent | 47b8798c0bf0944b24051bc21d85d93a2732676a [diff] [blame] |
Let printf do the formatting instead aligning strings ourselves. While at it, merge some format strings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142140 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index d9d0d27..632b614 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -6592,7 +6592,7 @@ return; // Dump the current SDNode, but don't end the line yet. - OS << std::string(indent, ' '); + OS.indent(indent); N->printr(OS, G); // Having printed this SDNode, walk the children: