aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/raw_ostream.cpp
AgeCommit message (Expand)AuthorFilesLines
2009-12-19Make some methods const. The only interesting change here is thatChris Lattner1-14/+16
2009-12-14Micro-optimize these functions in the case where they are not inlined.Dan Gohman1-2/+1
2009-10-17Add raw_ostream::write_escaped, for writing escaped strings.Daniel Dunbar1-0/+34
2009-09-15Drop the raw_ostream required buffer size to 1.Daniel Dunbar1-2/+2
2009-09-11Fix llvm-extract's "writing bitcode to a terminal" warning, which wasn'tDan Gohman1-0/+4
2009-08-25Make LLVM command-line tools overwrite their output files without -f.Dan Gohman1-6/+6
2009-08-24Correctly account for the Spaces array nul terminator. Thanks Chris!Dan Gohman1-2/+3
2009-08-24raw_ostream::indent is used for PadToColumn which often prints moreDan Gohman1-3/+6
2009-08-24split raw_os_ostream out to its own header and implementation file. ThisChris Lattner1-14/+0
2009-08-24prune the #includes in raw_ostream.h by moving a Chris Lattner1-0/+8
2009-08-23Fix off-by-one in llvm::Format::print.Daniel Dunbar1-5/+5
2009-08-23Fix windows build.Benjamin Kramer1-1/+1
2009-08-23Change raw_fd_ostream to take flags as an optional bitmask Chris Lattner1-14/+24
2009-08-22add a raw_ostream::indent method, to be used like:Chris Lattner1-0/+17
2009-08-19Change raw_svector_ostream to reserve the input buffer if necessary, Ted wasDaniel Dunbar1-3/+7
2009-08-19Switch raw_svector_ostream to use the vector as the ostream buffer.Daniel Dunbar1-1/+29
2009-08-19Speculatively revert r79375, which may be breaking bootstrap, although in aDaniel Dunbar1-15/+10
2009-08-19raw_ostream: Simplify write(unsigned char) to match write(const char*, unsign...Daniel Dunbar1-18/+8
2009-08-19raw_ostream: Remove pointless redefinitions of tell().Daniel Dunbar1-8/+0
2009-08-18raw_ostream: Add the capability for subclasses to manually install an externalDaniel Dunbar1-21/+23
2009-08-18Speed up raw_ostream::<<(unsigned long long) for 32-bit systems by doing mostDaniel Dunbar1-10/+15
2009-08-18Fix a bug in raw_ostream::write(char) introduced by the change toDan Gohman1-3/+10
2009-08-18Revert r78924, disabling buffering defeats all the fast paths in raw_ostream.Daniel Dunbar1-0/+12
2009-08-15Mingw also doesn't have st_blksize.Dan Gohman1-1/+1
2009-08-15Always check to see if raw_fd_ostream's file descriptor is attached toDan Gohman1-13/+16
2009-08-13When standard output is a terminal, set outs() to be unbuffered, toDan Gohman1-1/+11
2009-08-13Fix a compiler warning about comparing signed with unsigned.Dan Gohman1-1/+1
2009-08-13Add an assert to check copy_to_buffer's precondition.Dan Gohman1-0/+2
2009-08-13Set raw_os_ostream, raw_string_ostream, and raw_svector_ostream to beDan Gohman1-12/+0
2009-08-13Add support to raw_ostream for sizing the buffer according to theDan Gohman1-2/+25
2009-08-13Move SetBufferSize and SetUnbuffered out of line.Dan Gohman1-0/+20
2009-08-13Fix the buffer handling logic so that write_impl is always called withDan Gohman1-20/+25
2009-07-30Add raw_ostream::write_hexDaniel Dunbar1-4/+7
2009-07-29Perform simplification noticed by Reid.Daniel Dunbar1-4/+0
2009-07-29raw_ostream: Follow the 32-bit path when printing "small" decimal numbers.Daniel Dunbar1-0/+4
2009-07-27Make raw_null_ostream flush its buffer in its destructor, so thatDan Gohman1-0/+9
2009-07-27Add an assertion check to raw_ostream's destructor to verifyDan Gohman1-0/+5
2009-07-16Add raw_null_ostream and llvm::nulls(), a raw_ostream that discards output.Daniel Dunbar1-0/+17
2009-07-16Use size_t.Dan Gohman1-12/+12
2009-07-15Change raw_ostream so that it doesn't call llvm_report_errorDan Gohman1-4/+14
2009-07-15Add a Force option to raw_fd_ostream to specify whether openingDan Gohman1-1/+3
2009-07-15Check for errors on close(2) too. And lseek(2).Dan Gohman1-2/+6
2009-07-15Use 0664 instead of 0644 for the default open mode. This isDan Gohman1-1/+1
2009-07-15Detect write failures on raw_fd_ostream.Daniel Dunbar1-2/+4
2009-07-14Have asm printers use formatted_raw_ostream directly to avoid aDavid Greene1-1/+1
2009-07-10Make changes suggested by Chris and eliminate newly-added raw_ostreamDavid Greene1-1/+0
2009-07-09Add some hooks that a redesigned AsmStream needs to do its job. TheseDavid Greene1-0/+1
2009-06-04Add support for outputting ANSI colors to raw_fd_ostream.Torok Edwin1-0/+30
2009-04-20Make all raw_ostreams support the tell() function.Douglas Gregor1-0/+11
2009-03-17Add BUILTIN_EXPECT Support/Compiler macro.Daniel Dunbar1-1/+2