476b242fe7a61e5f9ac6214b0bc5c680d24f152e |
|
19-Dec-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Add missing standard headers. Patch by Joerg Sonnenberger! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122193 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
d4c454317a38d65957edebe62bfc69fc8d9885e8 |
|
01-Sep-2010 |
Dan Gohman <gohman@apple.com> |
Make tool_output_file's raw_ostream instance a member variable instead of a base class. This makes it possible to unregister the file from FilesToRemove when the file is done. Also, this eliminates the need for formatted_tool_output_file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112706 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
af0636f4d63e6ff2fd066d4594d8666459d1930d |
|
20-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Introduce a new tool_output_file class, which extends raw_ostream with functionality that most command-line tools need: ensuring that the output file gets deleted if the tool is interrupted or encounters an error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111595 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
fb76fe09297ee292129e44d723127f2408602a3d |
|
22-Feb-2010 |
Dan Gohman <gohman@apple.com> |
Fix various doxygen warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
efbdaa6463c8febe9cbfdd6d39f3a9ba18773427 |
|
15-Feb-2010 |
Chris Lattner <sabre@nondot.org> |
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
/external/llvm/lib/Support/FormattedStream.cpp
|
8f1929b9eae512aedc0f3fedae3c0f24583171e1 |
|
05-Jan-2010 |
David Greene <greened@obbligato.org> |
Change errs() to dbgs(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92641 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
de51ded2fa3d8d92e821e72294a89c1310a70cc6 |
|
23-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
switch formattedstream to use raw_ostream::indent. This eliminates the weird MAX_COLUMN_PAD limitation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79785 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
ab810275448c34c072c47be1f16ae1d679bfd20c |
|
19-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
raw_ostream: Reduce FormattedStream's reliance on raw_ostream's implementation. - Kill off begin(), end(), and iterator. It isn't clear what these mean. Instead provide getBufferStart(), which can be used with GetNumBytesInBuffer to the same effect. - Update ComputeColumn to take arguments for the buffer to scan, this simplifies the implementation of write_impl substantially. - This should also fix possible problems with the scanning pointer pointing outside of the current raw_ostream buffer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
8f4b1ec02bbc72161a9bd9777a2996dae439c81e |
|
17-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
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
/external/llvm/lib/Support/FormattedStream.cpp
|
fbcb5b678f0fc0432072212a26a0507954c805d8 |
|
15-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Add support for column computation on unbuffered streams. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79065 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
a4a68c1b439af1bacf8b9c3c06cdb97f56be4d94 |
|
15-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Move FormattedStream's write_impl out of line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79064 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
1486ef96ed8eb364467f5261887514114af1e39e |
|
15-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Remove an unnecessary #include. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79063 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
eb85728970c6152842577658ac2c5d2ff3a98b13 |
|
29-Jul-2009 |
David Greene <greened@obbligato.org> |
Re-apply previous changes and improve column padding performance some more. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77461 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
95db93caa1130725123eb50479d0c51c09e8a2f4 |
|
29-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Revert r77397, it causes significant regressions in llc performance. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77425 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
7aaad71722aeb26f14c8523ee55df91e38837a02 |
|
29-Jul-2009 |
David Greene <greened@obbligato.org> |
Improve performance of PadToColumn by eliminating flushes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77397 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
ed0e2adc7076365596ee3d26d5ba5240ce13f23d |
|
24-Jul-2009 |
David Greene <greened@obbligato.org> |
Write space padding as one string to speed up comment printing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76910 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
ad60f660c6fd1999a3e21823128d37aca62e9285 |
|
16-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Use size_t. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76069 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
1f318e00bad8b7499ef14d5732bcbda89243ec89 |
|
15-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
minor syntax cleanup git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75707 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
71847813bc419f7a0667468136a07429c6d9f164 |
|
14-Jul-2009 |
David Greene <greened@obbligato.org> |
Have asm printers use formatted_raw_ostream directly to avoid a dynamic_cast<>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75670 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
191cf2851b40fea6b7d927d5de8f22c35dd33828 |
|
13-Jul-2009 |
David Greene <greened@obbligato.org> |
Make some more changes suggested by Chris. Manipulators go away. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75472 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|
62fe47a33755719ab9c6e8c239e0dd01fc87e6f9 |
|
10-Jul-2009 |
David Greene <greened@obbligato.org> |
Make changes suggested by Chris and eliminate newly-added raw_ostream hooks as they're no longer needed. The major change with this patch is to make formatted_raw_ostream usable by any client of raw_ostream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75283 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FormattedStream.cpp
|