Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [C++11] Make use of 'nullptr' in the Support library. | Craig Topper | 2014-04-07 | 1 | -1/+1 |
| | | | | llvm-svn: 205697 | ||||
* | Add line tracking support to FormattedStream | Daniel Malea | 2013-05-08 | 1 | -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 Lewycky | 2010-12-19 | 1 | -0/+1 |
| | | | | llvm-svn: 122193 | ||||
* | Make tool_output_file's raw_ostream instance a member variable instead | Dan Gohman | 2010-09-01 | 1 | -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 with | Dan Gohman | 2010-08-20 | 1 | -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 Gohman | 2010-02-22 | 1 | -2/+0 |
| | | | | llvm-svn: 96779 | ||||
* | make PadToColumn return the stream so you can use: | Chris Lattner | 2010-02-15 | 1 | -1/+2 |
| | | | | | | OS.PadToColumn(42) << "foo"; llvm-svn: 96208 | ||||
* | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -0/+8 |
| | | | | llvm-svn: 92641 | ||||
* | switch formattedstream to use raw_ostream::indent. This eliminates | Chris Lattner | 2009-08-22 | 1 | -10/+1 |
| | | | | | | the weird MAX_COLUMN_PAD limitation. llvm-svn: 79785 | ||||
* | raw_ostream: Reduce FormattedStream's reliance on raw_ostream's implementation. | Daniel Dunbar | 2009-08-18 | 1 | -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 Lattner | 2009-08-17 | 1 | -4/+3 |
| | | | | | | just remove the argument and replace it with 1. llvm-svn: 79246 | ||||
* | Add support for column computation on unbuffered streams. | Dan Gohman | 2009-08-15 | 1 | -15/+38 |
| | | | | llvm-svn: 79065 | ||||
* | Move FormattedStream's write_impl out of line. | Dan Gohman | 2009-08-15 | 1 | -0/+6 |
| | | | | llvm-svn: 79064 | ||||
* | Remove an unnecessary #include. | Dan Gohman | 2009-08-15 | 1 | -1/+0 |
| | | | | llvm-svn: 79063 | ||||
* | Re-apply previous changes and improve column padding performance some more. | David Greene | 2009-07-29 | 1 | -17/+21 |
| | | | | llvm-svn: 77461 | ||||
* | Revert r77397, it causes significant regressions in llc performance. | Daniel Dunbar | 2009-07-29 | 1 | -9/+4 |
| | | | | llvm-svn: 77425 | ||||
* | Improve performance of PadToColumn by eliminating flushes. | David Greene | 2009-07-28 | 1 | -4/+9 |
| | | | | llvm-svn: 77397 | ||||
* | Write space padding as one string to speed up comment printing. | David Greene | 2009-07-23 | 1 | -3/+13 |
| | | | | llvm-svn: 76910 | ||||
* | Use size_t. | Dan Gohman | 2009-07-16 | 1 | -1/+1 |
| | | | | llvm-svn: 76069 | ||||
* | minor syntax cleanup | Chris Lattner | 2009-07-14 | 1 | -11/+5 |
| | | | | llvm-svn: 75707 | ||||
* | Have asm printers use formatted_raw_ostream directly to avoid a | David Greene | 2009-07-14 | 1 | -0/+13 |
| | | | | | | dynamic_cast<>. llvm-svn: 75670 | ||||
* | Make some more changes suggested by Chris. Manipulators go away. | David Greene | 2009-07-13 | 1 | -58/+41 |
| | | | | llvm-svn: 75472 | ||||
* | Make changes suggested by Chris and eliminate newly-added raw_ostream | David Greene | 2009-07-10 | 1 | -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 |