History log of /external/llvm/include/llvm/Support/FormattedStream.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0c7f116bb6950ef819323d855415b2f2b0aad987 06-May-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master LLVM for rebase to r235153

Change-Id: I9bf53792f9fc30570e81a8d80d296c681d005ea7
/external/llvm/include/llvm/Support/FormattedStream.h
dce4a407a24b04eebc6a376f8e62b41aaa7b071f 29-May-2014 Stephen Hines <srhines@google.com> Update LLVM for 3.5 rebase (r209712).

Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/include/llvm/Support/FormattedStream.h
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/include/llvm/Support/FormattedStream.h
bf473e22406143bcce9613b09f54adc1ba9301b8 08-Aug-2013 Ted Kremenek <kremenek@apple.com> Forward resetColor() et al to the underlying stream.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187947 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
f28e3c501e033f103405c03a4bbf848cb6e67a2a 08-May-2013 Daniel Malea <daniel.malea@intel.com> Add line tracking support to FormattedStream
- previously formatted_raw_ostream tracked columns, now it tracks lines too
- used by (upcoming) DebugIR pass to know the line number to connect to each IR
instruction



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181463 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
080e3c523e87ec68ca1ea5db4cd49816028dd8bd 02-Apr-2013 Chris Lattner <sabre@nondot.org> unindent the file to follow coding standards, change class doc comment
to be correct. No functionality or behavior change.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178511 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
a96a1824747632ce87ef065b4a13fb777d2b14d6 23-Sep-2012 Craig Topper <craig.topper@gmail.com> Add LLVM_OVERRIDE to methods that override their base classes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164471 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
10097bd023acd750cff72a9f422608fce2ad81dd 15-Sep-2012 Daniel Dunbar <daniel@zuster.org> formatted_raw_ostream: Fix a serious bug in tell().
- The current_pos function is supposed to return all the written bytes, not the
current position of the underlying stream.
- This caused tell() to be broken whenever the underlying stream had buffered
content.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
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/include/llvm/Support/FormattedStream.h
baf2883e0a294fabc059699037ad92822c46bd61 23-Aug-2010 Dan Gohman <gohman@apple.com> formatted_tool_output_file::close needs to flush its buffer before
closing the underlying stream.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111822 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
634d6619655f96628457d4b7126cd3a398f77631 20-Aug-2010 Dan Gohman <gohman@apple.com> Export error-handling functions in formatted_tool_output_file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111638 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
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/include/llvm/Support/FormattedStream.h
a7445340daab3bfb15968a414090292d37cc954b 15-Feb-2010 Chris Lattner <sabre@nondot.org> comment fix.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96248 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
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/include/llvm/Support/FormattedStream.h
acc935986d18b07de1472278edd7c7453e1ab439 05-Jan-2010 David Greene <greened@obbligato.org> Fix a build error by adding a missing commit.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92670 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
cd0129f5a6f0485ecac525c17a3c5dff0a19ca5f 19-Dec-2009 Chris Lattner <sabre@nondot.org> Make some methods const. The only interesting change here is that
it changes raw_fd_ostream::preferred_buffer_size to return zero on
a scary stat failure instead of setting the stream to an error state.
This method really should not mutate the stream.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91740 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
b759865495441386c58e3c56ec31c53121f45834 22-Sep-2009 Daniel Dunbar <daniel@zuster.org> Revert "Don't allow formatted_ostream to be unbuffered, even if its underlying
buffer", while we work out a solution.

Dan convinced me that making debugging annoying for him is worse than 10x being
slower for me. :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82553 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
cc1c702f628d93f9d84b681059e16652ad09d595 21-Sep-2009 Daniel Dunbar <daniel@zuster.org> Don't allow formatted_ostream to be unbuffered, even if its underlying buffer
is.
- The problem is that formatted_ostream forces its underlying buffer to be
unbuffered, so if some client happens to wrap a formatted_ostream around
something, but still use the underlying stream, then we can end up writing on
a fully unbuffered output (which was never intended to be unbuffered).

- This makes clang (and presumably llvm-gcc) -emit-llvm -S a mere 10x faster.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82434 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
05866f7963d37ede6b99445b5b079874413b1ec7 06-Sep-2009 Duncan Sands <baldrick@free.fr> Change "const static" to "static const", as warned about
by icc (#82). Patch by Erick Tryzelaar.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81117 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
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/include/llvm/Support/FormattedStream.h
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/include/llvm/Support/FormattedStream.h
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/include/llvm/Support/FormattedStream.h
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/include/llvm/Support/FormattedStream.h
6c304f2314e5fb00488ac6bdfdac180c0ffd3d09 14-Aug-2009 Dan Gohman <gohman@apple.com> Make formatted_raw_ostream restore the buffer settings of the
underlying stream when it is finished, so that clients don't
have to do this manually.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78952 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
f3e488476e1bdfe9de6daddcd1cd452c9d874b56 12-Aug-2009 Dan Gohman <gohman@apple.com> Add a GetBufferSize() member to raw_ostream and use it to
simplify some formatted_raw_ostream code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78836 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
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/include/llvm/Support/FormattedStream.h
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/include/llvm/Support/FormattedStream.h
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/include/llvm/Support/FormattedStream.h
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/include/llvm/Support/FormattedStream.h
6d53f55291c8541a508a8c26d847b942196f6f1c 16-Jul-2009 Dan Gohman <gohman@apple.com> Use setStream infomatted_raw_ostream's constructor, to reduce code
duplication. Also, make setStream honor the old DeleteStream flag.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76075 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
3724b482589af30978f39b50685ef5432863763b 16-Jul-2009 Dan Gohman <gohman@apple.com> Remove inapplicable comments.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76074 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
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/include/llvm/Support/FormattedStream.h
0e0979ecdaabcc78752f8a18f0a092a84f07a057 16-Jul-2009 Dan Gohman <gohman@apple.com> formatted_raw_ostream both is-a raw_ostream and has-a raw_ostream. This
means that two separate raw_ostreams are doing buffering before data is
sent to the underlying stream. Besides the inefficiency of redundant
buffering, the second level of buffering doesn't recieve flush()
requests.

Fix this by having formatted_raw_ostream set the underlying raw_ostream
to be unbuffered. This eliminates inefficiency due to redundant buffering,
and it makes the flush() disconnect harmless.

This fixes PR4559.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75883 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
001c2b433fd7fc30904abb4eafc78ac996430fe6 14-Jul-2009 Chris Lattner <sabre@nondot.org> fix a bug in my previous patch.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75678 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
4a18d2f1cce981873498d2f0303d84ef3d7ecbf6 14-Jul-2009 Chris Lattner <sabre@nondot.org> allow default construction of formatted_raw_ostream.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75674 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FormattedStream.h
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/include/llvm/Support/FormattedStream.h
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/include/llvm/Support/FormattedStream.h
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/include/llvm/Support/FormattedStream.h