a2ea78f1320c08018e28f82f8fb543fa7b4bb52d |
|
23-Aug-2012 |
Ted Kremenek <kremenek@apple.com> |
Fix an assortment of doxygen comment mistakes found by -Wdocumentation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162411 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
c8e41c591741b3da1077f7000274ad040bef8002 |
|
23-Jul-2012 |
Sylvestre Ledru <sylvestre@debian.org> |
Fix a typo (the the => the) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160621 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
d79637b940dfbcdc0b7c702d9655491ecca9d93d |
|
20-Jul-2012 |
Daniel Dunbar <daniel@zuster.org> |
raw_ostream: Add a has_colors() method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160558 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
246de858e37a989a9cdf9b80d7434453b2c52e70 |
|
16-Apr-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Reapply 'Add reverseColor to raw_ostream'. To be used in printing unprintable source in clang diagnostics. Patch by Seth Cantrell, with a minor fix for mingw by me. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
c9413c745bec9707064211bc5fd02cdfb153c92d |
|
16-Apr-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Revert r154800 which breaks windows builders. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154802 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
7d31d75a77bb7a5a47f21d4c311ba13be86caa6f |
|
16-Apr-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Add reverseColor to raw_ostream. To be used in printing unprintable source in clang diagnostics. Patch by Seth Cantrell! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154800 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
b0cfa6cab85ce19c8ecaf9cdd3e34a3593d0b001 |
|
03-Feb-2011 |
Daniel Dunbar <daniel@zuster.org> |
raw_fd_ostream: Add a SetUseAtomicWrites() method (uses writev). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124771 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
1f6efa3996dd1929fbc129203ce5009b620e6969 |
|
29-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Merge System into Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
10a049e6cf50eb9a1dddae49dc21513cfeddcb47 |
|
27-Nov-2010 |
Daniel Dunbar <daniel@zuster.org> |
raw_ostream::write_escaped: Add a UseHexEscapes argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
052f1eebdb6dbfb3f1197cc91f28ebc688ffb02d |
|
26-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Fix spelling! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120167 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
a872a0f5f800b352ab9af9d0f1e975ea0dead4ef |
|
14-Oct-2010 |
Francois Pichet <pichet2000@gmail.com> |
Always use binary mode for output stream. This is important to prevent unwanted end of line conversion on Windows. Should not affect Unix where O_BINARY is not defined. This fix /clang/test/lexer/preamble.c XFAIL on WIN32. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116509 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
e4f1a9b8a272ff7452759019ee7774e9dbdf1568 |
|
07-Oct-2010 |
Dan Gohman <gohman@apple.com> |
Move tool_output_file into its own file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115973 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.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/raw_ostream.h
|
6bb156a6817aa9c9e02e5212db12d70e28faefc2 |
|
23-Aug-2010 |
Mikhail Glushenkov <foldr@codedgers.com> |
Trailing whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111825 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
a1f89deb56eddf6a7738660063cbe7db9775b01c |
|
20-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Delete raw_stdout_ostream and raw_stderr_ostream, which are unused outside of outs() and errs() themselves, and they don't really need custom classes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111642 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
00d1cdeca9d718d2eb51859800cf66a9d5e386ca |
|
20-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Add an inspirational quote. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111641 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
27f7aad50b93f02e81f7875dba09a5a1020431e6 |
|
20-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Add a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
8df0e010469db2db5c641a50d9cfa74a5ffe68ea |
|
20-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Move raw_ostream's Error flag into raw_fd_ostream, as that's the only class which is using it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111639 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.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/raw_ostream.h
|
2499990699899e6da865c919fe63ef6e6c6f4a00 |
|
19-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Make raw_fd_ostream consider itself the owner of STDOUT_FILENO when constructed with an output filename of "-". In particular, allow the file descriptor to be closed, and close the file descriptor in the destructor if it hasn't been explicitly closed already, to ensure that any write errors are detected. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111436 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
6c507926532d609b1225c29878b37c562e4277f2 |
|
12-Jul-2010 |
Eric Christopher <echristo@apple.com> |
Remove tab characters and 80-col. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108127 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
75361b69f3f327842b9dad69fa7f28ae3b688412 |
|
08-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
rename llvm::llvm_report_error -> llvm::report_fatal_error git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100709 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
60a6e1f461392a94366567468129d54b7378e93e |
|
27-Mar-2010 |
Dan Gohman <gohman@apple.com> |
Add a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99715 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
14ca177beba15e86ca410c9f6fc7f48ba245dba6 |
|
22-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
Changes to fix buffering that I forgot to commit with previous patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94222 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
d79d9dce47d505369662ae5111dba24f9ccdef68 |
|
22-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
add a new MCAsmStreamer::GetCommentOS method to simplify stuff that doesn't want to use twines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94199 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.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/raw_ostream.h
|
a4f8ecd85de38c14b11bbd0fc8cb9a427e9f3d75 |
|
14-Dec-2009 |
Dan Gohman <gohman@apple.com> |
Micro-optimize these functions in the case where they are not inlined. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91316 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
2928c83b010f7cfdb0f819199d806f6942a7d995 |
|
06-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Pass StringRef by value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86251 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
8b67f774e9c38b7718b2b300b628388f966df4e0 |
|
26-Oct-2009 |
Chandler Carruth <chandlerc@gmail.com> |
Move DataTypes.h to include/llvm/System, update all users. This breaks the last direct inclusion edge from System to Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85086 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
522b113a752a8e86932eebdc41ba07e058950e41 |
|
17-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add raw_ostream::write_escaped, for writing escaped strings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84355 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
085b9c034fb97120cffbf0c235c5f372f2c938b8 |
|
15-Oct-2009 |
Eric Christopher <echristo@apple.com> |
One more iteration here and a yet better way to solve it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84150 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
7a8a05b3408cffa5458f1407d0e4623855c40689 |
|
14-Oct-2009 |
Eric Christopher <echristo@apple.com> |
Fix the unused argument problem here a different way - cast to void. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84147 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
41b5adf20208f46e4b1104d6d473710fbfa61eb9 |
|
14-Oct-2009 |
Eric Christopher <echristo@apple.com> |
Remove a bunch of unused arguments from functions, silencing a warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
c8213b782735c7916cbc996c8dcdf89f9593d354 |
|
15-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Drop the raw_ostream required buffer size to 1. - As best I can tell, we have eliminated all the code which used to require a larger buffer size. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81912 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
ec080467f5b322441055de1f6cd4f08edc23d7df |
|
11-Sep-2009 |
Dan Gohman <gohman@apple.com> |
Fix llvm-extract's "writing bitcode to a terminal" warning, which wasn't working. To support this, add an is_displayed() function to raw_ostream, and generalize Process::StandardOutIsDisplayed and friends in order to support it. Also, call RemoveFileOnSignal before creating a file instead of after, so that the file isn't left behind if the program is interrupted between when the file is created and RemoveFileOnSignal is called. While here, add a -S to llvm-extract and port it to IRReader so that it supports assembly input. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81568 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
baa26395ccf17fc988bb9cf62d6659ca8415ece9 |
|
25-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Make LLVM command-line tools overwrite their output files without -f. This is conventional command-line tool behavior. -f now just means "enable binary output on terminals". Add a -f option to llvm-extract and llvm-link, for consistency. Remove F_Force from raw_fd_ostream and enable overwriting and truncating by default. Introduce an F_Excl flag to permit users to enable a failure when the file already exists. This flag is currently unused. Update Makefiles and documentation accordingly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79990 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
8a719291db4cd209a7fa2b320f5f83462a2c487f |
|
24-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add missing include (for MSVC). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79897 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
32e1eef631fb275c9db580d80116d1110c3ae5ee |
|
24-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
split raw_os_ostream out to its own header and implementation file. This means that raw_ostream no longer has to #include <iosfwd>. Nothing in llvm should use raw_os_ostream.h, but llvm-gcc and some unit tests do. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79886 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
23132b188ba651ba172380cd082cc286df73d440 |
|
24-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
prune the #includes in raw_ostream.h by moving a member out of line. ftostr is not particularly speedy, so that method is presumably not perf sensitive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79885 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
45cfe545ec8177262dabc70580ce05feaa1c3880 |
|
23-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
Change Pass::print to take a raw ostream instead of std::ostream, update all code that this affects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79830 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
17e9edc4a7bbeadf756494cf39fcacc9eff72202 |
|
23-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
Change raw_fd_ostream to take flags as an optional bitmask instead of as two bools. Use this to add a F_Append flag which has the obvious behavior. Other unrelated changes conflated into this patch: 1. REmove EH stuff from llvm-dis and llvm-as, the try blocks are dead. 2. Simplify the filename inference code in llvm-as/llvm-dis, because raw_fd_ostream does the right thing with '-'. 3. Switch machine verifier to use raw_ostream instead of ostream (Which is the thing that needed append in the first place). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
c5a227ddd1fa09cd66e4fd1c0473be5c2b4f8f32 |
|
23-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
add a raw_ostream::indent method, to be used like: OS.indent(i) << "whatever"; people seem to like indenting things ;-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79784 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
7ab2fef792238ec467cf3351ee63b4b8c026a3dd |
|
19-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Unbreak GetBufferSize() on uninitialized streams. This fixes a problem that led to errs() getting made buffered. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79458 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
d14787e49777888eb7c685c0d5803044e7b7971a |
|
19-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Change raw_svector_ostream to reserve the input buffer if necessary, Ted was right. - This class turns out to be much more convenient to use if we do this; clients can make sure the buffer is always big enough if they care (since our current idiom tends to be to use a SmallString<256> for the input to this we should generally be avoiding an unnecessary malloc). Also, add a convenience raw_svector_ostream::str method which flushes the buffer and returns a StringRef for the vector contents. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
425d08c654c7893782b1215f9b2715bc1d90bd07 |
|
19-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Switch raw_svector_ostream to use the vector as the ostream buffer. - This avoids unnecessary malloc/free overhead in the common case, and unnecessary copying from the ostream buffer into the output vector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79434 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
d29d497b530a7094c808540cfdb68a7af3afd315 |
|
19-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
raw_ostream: Remove pointless redefinitions of tell(). - The base class implementation is correct. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79385 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
906d5b4455c6d605ab62f26d45cad2e49bf948bb |
|
19-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
raw_ostream: Add the capability for subclasses to manually install an external buffer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79382 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.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/raw_ostream.h
|
35979c021e4789b915cd569145bd9fb9ae0d8d8b |
|
18-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Revert r78924, disabling buffering defeats all the fast paths in raw_ostream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79361 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
0ba50bb05661165f2b97f4526732f109a81100b5 |
|
13-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Set raw_os_ostream, raw_string_ostream, and raw_svector_ostream to be unbuffered. std::ostream does its own buffering, and std::string and SmallVector both have allocation strategies intended to handle frequent appending. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78924 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
208ec0f32eed8874074bddf97cd04f60a772198d |
|
13-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Add support to raw_ostream for sizing the buffer according to the needs of the underlying output mechanism. raw_fd_ostream now uses st_blksize from fstat to determine a buffer size. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78923 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
b3667ae9b6fb204e60d4e1def21442fbf0251f99 |
|
13-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Make raw_ostream non-copyable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78920 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
524dea4d4ca6ecafa18e1e011934a2129c770f4f |
|
13-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Move SetBufferSize and SetUnbuffered out of line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78909 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
33e49ef5e5dc2d3e65bcd4fc1f20874bf3847829 |
|
13-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Fix the buffer handling logic so that write_impl is always called with a full buffer, rather than often being called with a slightly-less-than-full buffer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78907 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
a9ad04191cb56c42944b17980b8b2bb2afe11ab2 |
|
13-Aug-2009 |
Dan Gohman <gohman@apple.com> |
This void is implicit in C++. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78848 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.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/raw_ostream.h
|
48018e08f0d47331e72e5dcfcde2173217091b0e |
|
30-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add raw_ostream::write_hex git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
fd29440c07f195d7c059efeb50fe0c5905d88b3b |
|
29-Jul-2009 |
David Greene <greened@obbligato.org> |
Add some protected interfaces to allow subclass access to the buffer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77395 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
f78c835faa97a6f5c8021923c05f7514a550619f |
|
27-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Make raw_null_ostream flush its buffer in its destructor, so that it conforms to the assertion added in r77245. This fixes a failure in qa_override.c in clang's testsuite. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77255 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
996b9d6aa9864c24178891adf29eeafd3f34d90c |
|
25-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Remove spurious semicolons. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77077 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
dbe77cfa0bcae10d91fbdbf118a97ec212afc88e |
|
22-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Support writing a StringRef to a raw_ostream directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
34ccf037fea3d83dcb18f72496775ec4c7dcd3d3 |
|
16-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add raw_null_ostream and llvm::nulls(), a raw_ostream that discards output. - No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76103 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
2a993f2cc44dc1113d67df03562866eb65337ff1 |
|
16-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Add explicit keywords. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76073 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.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/raw_ostream.h
|
e87b2abe91fc44bb9875188d80e3a43a9dfc41eb |
|
16-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Change raw_ostream so that it doesn't call llvm_report_error immediately on every output error. Instead, add a flag to raw_ostream, and set the flag whenever an error is detected. The flag can be queried and cleared from the public API. This gives applications more flexibility to handling errors in application-specific ways. If the flag is not cleared when the raw_ostream is destructed, llvm_report_error is called from the destructor. This ensures that errors are not implicitly silenced, and provides convenient default behavior for tools like llc and opt. Clients wishing to avoid llvm_report_error calls from raw_ostream should check for errors and clear the error flag. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75857 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
1f5c5b989c20e416fcf26633e342cdfb68dab1bd |
|
15-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Fix a thinko in a comment that Duncan spotted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75803 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
a1bdcedc3879510a874d24c450e07feb170d9cd6 |
|
15-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Add a Force option to raw_fd_ostream to specify whether opening an existing file is considered an error. Convert several tools to use raw_fd_ostream instead of std::ostream, and to use this new option instead of doing a manual check. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
c232a7e8feb28450f3f542ef5025197ff50ff9fc |
|
15-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Add a comment noting that raw_os_ostream does not check for errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75794 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.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/raw_ostream.h
|
53674361efd42f9dd7c4d293132106839ab3b893 |
|
10-Jul-2009 |
David Greene <greened@obbligato.org> |
Add some hooks that a redesigned AsmStream needs to do its job. These allow derived classes to examine the stream buffer before it's flushed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75199 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
e8ebb0fe1bba0fdff7475d98e1f8a04804b0b056 |
|
04-Jun-2009 |
Torok Edwin <edwintorok@gmail.com> |
Add support for outputting ANSI colors to raw_fd_ostream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72854 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
8f7be4731e979255c54eb8951b7a06ed4fd6ce45 |
|
20-Apr-2009 |
Douglas Gregor <dgregor@apple.com> |
Make all raw_ostreams support the tell() function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69583 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
38f4dd7b5e333aee8f89cee85d1c79378fee0ffc |
|
03-Apr-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add fast path for raw_ostream output of strings. - Particularly nice for small constant strings, which get optimized down nicely. On a synthetic benchmark writing out "hello" in a loop, this is about 2x faster with gcc and 3x faster with llvm-gcc. llc on insn-attrtab.bc from 403.gcc is about .5% faster. - I tried for a fancier solution which wouldn't increase code size as much (by trying to match constant arrays), but can't quite make it fly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68396 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
c39b80fdfc606f5df118288f4fc6b5e9c0b5ee41 |
|
17-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
raw_ostream: Return '*this' explicitly (instead of implicitly via write) to expose more alias information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67070 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
d17d74bb80d9da1712a066df40122e8584dad227 |
|
17-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
raw_ostream: Rework implementation of unbuffered streams so outputting a single character requires only one branch to follow slow path. - Never use a buffer when writing on an unbuffered stream. - Move default buffer size to header. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67066 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
89a66a96fed75796bc5e079217130b62105cb438 |
|
17-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
raw_ostream: Replace flush_impl with write_impl, which takes data to write as arguments. - Add raw_ostream::GetNumBytesInBuffer. - Privatize buffer pointers. - Get rid of slow and unnecessary code for writing out large strings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67060 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
cf2a2c6a26427733f31dd539c6ee6486ea191da2 |
|
16-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
raw_ostream: Lift out flush_nonempty. - Flush a known non-empty buffers; enforces the interface to flush_impl and kills off HandleFlush (which I saw no reason to be an inline method, Chris?). - Clarify invariant that flush_impl is only called with OutBufCur > OutBufStart. - This also cleary collects all places where we have to deal with the buffer possibly not existing. - A few more comments and fixing the unbuffered behavior remain in this commit sequence. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67057 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
de75d7ffcd5ed315240cfe0c52a821cf66411eda |
|
16-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add slow path for single character write, and use exclusively for single characters writes outside of the fast path in raw_ostream.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67053 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
bcf8ea9554bbed7590b1e13f93de22ba57b4b853 |
|
12-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
raw_ostream: unbuffered streams weren't being immediately flushed on single character writes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66827 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
7f3030c471d32d56c1429c8d3c331306e39a2570 |
|
11-Mar-2009 |
Dan Gohman <gohman@apple.com> |
Add an explicit keyword. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66595 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
e77e434bc96f2935dcf337909c4009324fe24eaf |
|
10-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
PR3478: raw_ostream should not buffer stderr - Add unbuffered flag to raw_ostream, forwarded by raw_fd_ostream and used by raw_stderr_ostream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66545 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
fe2cce63aa26d0916fa7be32c6bf7fa8fb059ee7 |
|
20-Feb-2009 |
Misha Brukman <brukman+llvm@gmail.com> |
Removed trailing whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65196 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
9c27886dd5d504f2b03c6fcb57aba23e5e44c4fa |
|
26-Jan-2009 |
Ted Kremenek <kremenek@apple.com> |
Add method raw_fd_ostream::seek() for random access within a file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
d75ba1c3573d3d5146d0abe8cb376dca94be94d5 |
|
04-Dec-2008 |
Ted Kremenek <kremenek@apple.com> |
Have raw_fd_ostream keep track of the position in the file to make tell() go faster by not requiring a flush(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60560 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
5984680c1fe7ad98381154c26f9c009e4c91b08c |
|
26-Nov-2008 |
Ted Kremenek <kremenek@apple.com> |
Add 'tell' method to raw_fd_ostream that clients can use to query the current location in the file the stream is writing to. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60085 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
0d9eb9b4917340acbfc831890655b8e9724959f6 |
|
13-Nov-2008 |
Daniel Dunbar <daniel@zuster.org> |
Add Binary flag to raw_fd_ostream constructor. Document raw_fd_ostream's treatment of "-". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59219 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
43d1f02b547b146d81abeb0ed0f88628f0fdc7dc |
|
24-Oct-2008 |
Ted Kremenek <kremenek@apple.com> |
Added raw_fd_ostream::close(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58052 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
48534b31d8bc5a68ba152fcdb905bf266def5268 |
|
21-Oct-2008 |
Daniel Dunbar <daniel@zuster.org> |
Clear raw_fd_ostream error string on success and explain behavior in documentation. Add C++ header marker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57923 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
5b8dbf839ba8f586e2823744dc695acf57480c5f |
|
02-Sep-2008 |
Nuno Lopes <nunoplopes@sapo.pt> |
plug memleak: destroy internal buffer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55632 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
4ac67ef47ada2160d2a6f2340743b624c6e16424 |
|
26-Aug-2008 |
Ted Kremenek <kremenek@apple.com> |
Grammar fix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55371 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
3d4866e68338c5c5d7b9a3130a3db5b12658776c |
|
26-Aug-2008 |
Ted Kremenek <kremenek@apple.com> |
Added "str()" method to raw_string_ostream. str() mirrors the same method in std::ostringstream. str() flushes the buffered stream contents to string and returns a reference to the string. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55370 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
78a2812538d871a62d90f53ed66d26198876d011 |
|
24-Aug-2008 |
Chris Lattner <sabre@nondot.org> |
Add raw_stream adaptors that write into an std::string and SmallVector/SmallString. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55265 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
944fac71e082cc2664cc71b4d3f6c72bab7143fb |
|
24-Aug-2008 |
Chris Lattner <sabre@nondot.org> |
Switch the asmprinter (.ll) and all the stuff it requires over to use raw_ostream instead of std::ostream. Among other goodness, this speeds up llvm-dis of kc++ with a release build from 0.85s to 0.49s (88% faster). Other interesting changes: 1) This makes Value::print be non-virtual. 2) AP[S]Int and ConstantRange can no longer print to ostream directly, use raw_ostream instead. 3) This fixes a bug in raw_os_ostream where it didn't flush itself when destroyed. 4) This adds a new SDNode::print method, instead of only allowing "dump". A lot of APIs have both std::ostream and raw_ostream versions, it would be useful to go through and systematically anihilate the std::ostream versions. This passes dejagnu, but there may be minor fallout, plz let me know if so and I'll fix it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55263 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
b2560526d5f6d2f9cc3698244dbb1f4861dc8efc |
|
23-Aug-2008 |
Chris Lattner <sabre@nondot.org> |
Split format() out to its own file, add support for formatting up to three values in one call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55251 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
0958ab0fd1fe8606f15ce38a7b893c6b74dc2aad |
|
23-Aug-2008 |
Chris Lattner <sabre@nondot.org> |
conditionalize this to work on windows, untested but it should work according to the intarnetz git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55248 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
097af7fc8f8688cc21453a5561347f14ca7c5771 |
|
23-Aug-2008 |
Chris Lattner <sabre@nondot.org> |
add a simple mechanism for formatted output. This gives raw_ostream's all the power and risk of fprintf format strings. Use them like this: OS << format("%10.4f", 42.0) << "\n" << format("%x", 42) << '\n'; git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55246 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
f46dc79ac502f6ed06dea3ba558bcfcc49061114 |
|
22-Aug-2008 |
Nicolas Geoffray <nicolas.geoffray@lip6.fr> |
Also overload for char, since the "char" type depends on the host. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55173 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
1f83b02c62380f5ac5502eccc45d7b6203a7ea93 |
|
22-Aug-2008 |
Owen Anderson <resistor@mac.com> |
Overload for both signed and unsigned char. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55171 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
66b17ba0d263442b8b4e82aaa08acc0df85e1787 |
|
21-Aug-2008 |
Owen Anderson <resistor@mac.com> |
Move non-trivial methods out of line to avoid code-size bloat. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55138 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
89a1a85913fb559c7e0266570738fd9cdf616fa3 |
|
21-Aug-2008 |
Owen Anderson <resistor@mac.com> |
Implement operator<< in terms of basic types rather than [u]int*_t, which is better for portability. There might be some way to factor this all with metaprogramming magic, but I'm not sure how offhand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55114 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
afc802dc7d963a2cb46f1b0c1f1b0faa5e1dca2a |
|
21-Aug-2008 |
Eli Friedman <eli.friedman@gmail.com> |
Remove size_t operator; this unbreaks the build on Linux. Committing on the suggestion of resistor. If this breaks some other platform, please go ahead and back this out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55106 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
cb3718832375a581c5ea23f15918f3ea447a446c |
|
21-Aug-2008 |
Owen Anderson <resistor@mac.com> |
Use raw_ostream throughout the AsmPrinter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55092 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
071acf4279abb72e0accc6b76212ec8959c6b637 |
|
19-Aug-2008 |
Chris Lattner <sabre@nondot.org> |
add raw_ostream method for emitting an unsigned. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54972 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
b6c8a4098fd23c21d6cda33b09b99b5a0ac1e13f |
|
17-Aug-2008 |
Nick Lewycky <nicholas@mxc.ca> |
Fix build on GCC 4.3. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54870 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
07f51f788e1dff2982ff0aae7c2ea3d00e48cc61 |
|
17-Aug-2008 |
Chris Lattner <sabre@nondot.org> |
add support for a cout/cerr analog (outs()/errs()) as well as a simple adaptor class to give raw output capabilities to something that wants to write to an ostream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54865 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
d497df5cf5d977522814acef72b8b65f1774408e |
|
17-Aug-2008 |
Chris Lattner <sabre@nondot.org> |
rename OutputData to 'write' to match ostream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54857 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
66a6b8be97a5d014a0cb710ed8e36c1fe9f735f5 |
|
17-Aug-2008 |
Chris Lattner <sabre@nondot.org> |
remove accidental comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54856 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|
60d396262460f0613175e52c00be5e8bfb89d8fb |
|
17-Aug-2008 |
Chris Lattner <sabre@nondot.org> |
add a new raw_ostream class which is an extremely high performance ostream that can *only* output data (no seeking, reading, etc). This is adapted from the clang "-E outputter", and is roughly 10% faster than stdio on darwin and 30% (or more) faster than std::ostream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54855 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/raw_ostream.h
|