diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-15 02:17:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-15 02:17:50 +0000 |
commit | efbdaa6463c8febe9cbfdd6d39f3a9ba18773427 (patch) | |
tree | 5a0465fe2dbb6abb03265585c0d2a6e753643c2d /include | |
parent | 3da6e09de53d1f50ceed308de855cdce1a54cb81 (diff) | |
download | external_llvm-efbdaa6463c8febe9cbfdd6d39f3a9ba18773427.zip external_llvm-efbdaa6463c8febe9cbfdd6d39f3a9ba18773427.tar.gz external_llvm-efbdaa6463c8febe9cbfdd6d39f3a9ba18773427.tar.bz2 |
make PadToColumn return the stream so you can use:
OS.PadToColumn(42) << "foo";
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96208 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/FormattedStream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/FormattedStream.h b/include/llvm/Support/FormattedStream.h index af546f0..58a24bd 100644 --- a/include/llvm/Support/FormattedStream.h +++ b/include/llvm/Support/FormattedStream.h @@ -119,7 +119,7 @@ namespace llvm /// space. /// /// \param NewCol - The column to move to. - void PadToColumn(unsigned NewCol); + formatted_raw_ostream &PadToColumn(unsigned NewCol); private: void releaseStream() { |