summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/FormattedStream.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [C++11] Make use of 'nullptr' in the Support library.Craig Topper2014-04-071-1/+1
| | | | llvm-svn: 205697
* Add line tracking support to FormattedStream Daniel Malea2013-05-081-20/+25
| | | | | | | | - 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 llvm-svn: 181463
* Add missing standard headers. Patch by Joerg Sonnenberger!Nick Lewycky2010-12-191-0/+1
| | | | llvm-svn: 122193
* Make tool_output_file's raw_ostream instance a member variable insteadDan Gohman2010-09-011-3/+0
| | | | | | | | | | 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. llvm-svn: 112706
* Introduce a new tool_output_file class, which extends raw_ostream withDan Gohman2010-08-201-0/+3
| | | | | | | | functionality that most command-line tools need: ensuring that the output file gets deleted if the tool is interrupted or encounters an error. llvm-svn: 111595
* Fix various doxygen warnings.Dan Gohman2010-02-221-2/+0
| | | | llvm-svn: 96779
* make PadToColumn return the stream so you can use:Chris Lattner2010-02-151-1/+2
| | | | | | OS.PadToColumn(42) << "foo"; llvm-svn: 96208
* Change errs() to dbgs().David Greene2010-01-051-0/+8
| | | | llvm-svn: 92641
* switch formattedstream to use raw_ostream::indent. This eliminatesChris Lattner2009-08-221-10/+1
| | | | | | the weird MAX_COLUMN_PAD limitation. llvm-svn: 79785
* raw_ostream: Reduce FormattedStream's reliance on raw_ostream's implementation.Daniel Dunbar2009-08-181-21/+18
| | | | | | | | | | | | | | - 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. llvm-svn: 79379
* the MinPad argument to PadToColumn only really makes sense to be 1,Chris Lattner2009-08-171-4/+3
| | | | | | just remove the argument and replace it with 1. llvm-svn: 79246
* Add support for column computation on unbuffered streams.Dan Gohman2009-08-151-15/+38
| | | | llvm-svn: 79065
* Move FormattedStream's write_impl out of line.Dan Gohman2009-08-151-0/+6
| | | | llvm-svn: 79064
* Remove an unnecessary #include.Dan Gohman2009-08-151-1/+0
| | | | llvm-svn: 79063
* Re-apply previous changes and improve column padding performance some more.David Greene2009-07-291-17/+21
| | | | llvm-svn: 77461
* Revert r77397, it causes significant regressions in llc performance.Daniel Dunbar2009-07-291-9/+4
| | | | llvm-svn: 77425
* Improve performance of PadToColumn by eliminating flushes.David Greene2009-07-281-4/+9
| | | | llvm-svn: 77397
* Write space padding as one string to speed up comment printing.David Greene2009-07-231-3/+13
| | | | llvm-svn: 76910
* Use size_t.Dan Gohman2009-07-161-1/+1
| | | | llvm-svn: 76069
* minor syntax cleanupChris Lattner2009-07-141-11/+5
| | | | llvm-svn: 75707
* Have asm printers use formatted_raw_ostream directly to avoid aDavid Greene2009-07-141-0/+13
| | | | | | dynamic_cast<>. llvm-svn: 75670
* Make some more changes suggested by Chris. Manipulators go away.David Greene2009-07-131-58/+41
| | | | llvm-svn: 75472
* Make changes suggested by Chris and eliminate newly-added raw_ostreamDavid Greene2009-07-101-0/+74
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. llvm-svn: 75283
OpenPOWER on IntegriCloud