diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-17 15:48:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-17 15:48:08 +0000 |
commit | 8f4b1ec02bbc72161a9bd9777a2996dae439c81e (patch) | |
tree | 04eacae3bf80f9ad085e50a0af64dc0ebf02fb1e /include/llvm/Support/FormattedStream.h | |
parent | f547a121212db86430e1020c6903e20cdb02ad2d (diff) |
the MinPad argument to PadToColumn only really makes sense to be 1,
just remove the argument and replace it with 1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79246 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/FormattedStream.h')
-rw-r--r-- | include/llvm/Support/FormattedStream.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/llvm/Support/FormattedStream.h b/include/llvm/Support/FormattedStream.h index a7824f0aae..6157c40de6 100644 --- a/include/llvm/Support/FormattedStream.h +++ b/include/llvm/Support/FormattedStream.h @@ -119,13 +119,12 @@ namespace llvm Scanned = begin(); } - /// PadToColumn - Align the output to some column number. + /// PadToColumn - Align the output to some column number. If the current + /// column is already equal to or more than NewCol, PadToColumn inserts one + /// space. /// /// \param NewCol - The column to move to. - /// \param MinPad - The minimum space to give after the most - /// recent I/O, even if the current column + minpad > newcol. - /// - void PadToColumn(unsigned NewCol, unsigned MinPad = 0); + void PadToColumn(unsigned NewCol); private: void releaseStream() { |