aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/raw_ostream.cpp
AgeCommit message (Expand)AuthorFilesLines
2014-12-12Clean up static analyzer warnings.Michael Ilseman1-0/+1
2014-10-07Support: Don't call close again if we get EINTRDavid Majnemer1-11/+4
2014-09-26Support: Remove undefined behavior from &raw_ostream::operator<<David Majnemer1-1/+1
2014-09-25[Support] Add type-safe alternative to llvm::format()Nick Kledzik1-0/+57
2014-08-25Modernize raw_fd_ostream's constructor a bit.Rafael Espindola1-12/+4
2014-07-17Typo: exists -> exitsHans Wennborg1-1/+1
2014-07-11Simplify the raw_svector_ostream tweak from r212816Alp Toker1-13/+4
2014-07-11raw_svector_ostream: grow and reserve atomicallyAlp Toker1-15/+17
2014-06-26Revert "Introduce a string_ostream string builder facilty"Alp Toker1-4/+0
2014-06-26Introduce a string_ostream string builder faciltyAlp Toker1-0/+4
2014-06-12Don't use 'using std::error_code' in include/llvm.Rafael Espindola1-1/+1
2014-06-12Remove system_error.h.Rafael Espindola1-1/+1
2014-04-15[C++11] More 'nullptr' conversion. In some cases just using a boolean check i...Craig Topper1-3/+3
2014-02-27Revert "Use StringRef in raw_fd_ostream constructor"Ben Langmuir1-2/+3
2014-02-26Use StringRef in raw_fd_ostream constructorBen Langmuir1-3/+2
2014-02-24Replace the F_Binary flag with a F_Text one.Rafael Espindola1-1/+1
2014-01-12raw_fd_ostream: Don't change STDERR to O_BINARY, or w*printf() (in assert()) ...NAKAMURA Takumi1-2/+3
2014-01-12raw_stream formatter: [Win32] Use std::signbit() if available, instead of _fp...NAKAMURA Takumi1-0/+6
2013-10-03raw_fd_ostream: Be more verbose about the reason when opening a file fails.Benjamin Kramer1-1/+2
2013-07-17raw_ostream.cpp: Introduce <fcntl.h> to let O_BINARY provided. Or, llvm::outs...NAKAMURA Takumi1-0/+5
2013-07-16Add a wrapper for open.Rafael Espindola1-31/+9
2013-07-16Create files with mode 666. This matches the behavior of other unix tools.Rafael Espindola1-1/+1
2013-06-12Remove the program class.Rafael Espindola1-1/+1
2013-03-27Don't try to generate crash diagnostics if we had an I/O failure. It's veryChad Rosier1-1/+1
2013-03-12Don't crash if write_impl() leaves less buffer space available than expected.Matt Beaumont-Gay1-1/+6
2013-02-12Add static cast to unsigned char whenever a character classification function...Guy Benyei1-1/+2
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-5/+5
2012-08-29Replace the BUILTIN_EXPECT macro with a less horrible LLVM_LIKELY/LLVM_UNLIKE...Benjamin Kramer1-6/+6
2012-07-20raw_ostream: Add a has_colors() method.Daniel Dunbar1-0/+4
2012-07-12Fixed few warnings.Galina Kistanova1-1/+2
2012-04-16Reapply 'Add reverseColor to raw_ostream'.Benjamin Kramer1-0/+13
2012-04-16Revert r154800 which breaks windows builders.Argyrios Kyrtzidis1-13/+0
2012-04-16Add reverseColor to raw_ostream.Argyrios Kyrtzidis1-0/+13
2011-12-13Support/Program: Make Change<stream>ToBinary return error_code.Michael J. Spencer1-0/+1
2011-10-13Avoid undefined behavior in signed integer negation. Patch by Ahmed Charles.Eli Friedman1-1/+2
2011-08-28Fix integer overflow bug in raw_ostream::write. This showed up as aNick Lewycky1-2/+2
2011-03-18raw_ostream: [PR6745] Tweak formatting (double)%e for Windows hosts.NAKAMURA Takumi1-0/+30
2011-03-16lib/Support/raw_ostream.cpp: On mingw, report_fatal_error() should not be cal...NAKAMURA Takumi1-0/+8
2011-03-04raw_ostream: while it is generally desirable to do larger writes, it can lead toBenjamin Kramer1-3/+7
2011-03-04raw_ostream: If writing a string that is larger than the buffer, write it dir...Benjamin Kramer1-9/+13
2011-02-03raw_fd_ostream: Add a SetUseAtomicWrites() method (uses writev).Daniel Dunbar1-3/+21
2011-01-17Support/raw_ostream: Fix uninitalized variable in raw_fd_ostream constructor.Michael J. Spencer1-0/+7
2010-11-29Merge System into Support.Michael J. Spencer1-2/+2
2010-11-27raw_ostream::write_escaped: Add a UseHexEscapes argument.Daniel Dunbar1-6/+15
2010-10-19lib/Support/raw_ostream.cpp: Fix Cygwin's build.NAKAMURA Takumi1-0/+4
2010-10-14Always use binary mode for output stream. This is important to prevent unwant...Francois Pichet1-0/+13
2010-10-07Move tool_output_file into its own file.Dan Gohman1-32/+0
2010-09-01Make tool_output_file's raw_ostream instance a member variable insteadDan Gohman1-14/+18
2010-08-20Make outs() close its file when its stream is destructed, so thatDan Gohman1-2/+4
2010-08-20Delete raw_stdout_ostream and raw_stderr_ostream, which are unusedDan Gohman1-12/+4