aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/FormattedStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/FormattedStream.h')
-rw-r--r--include/llvm/Support/FormattedStream.h9
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() {