summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/FormattedStream.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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