Go to file
Alp Toker 614717388c Introduce a string_ostream string builder facilty
string_ostream is a safe and efficient string builder that combines opaque
stack storage with a built-in ostream interface.

small_string_ostream<bytes> additionally permits an explicit stack storage size
other than the default 128 bytes to be provided. Beyond that, storage is
transferred to the heap.

This convenient class can be used in most places an
std::string+raw_string_ostream pair or SmallString<>+raw_svector_ostream pair
would previously have been used, in order to guarantee consistent access
without byte truncation.

The patch also converts much of LLVM to use the new facility. These changes
include several probable bug fixes for truncated output, a programming error
that's no longer possible with the new interface.

llvm-svn: 211749
2014-06-26 00:00:48 +00:00
clang Make -Wincomplete-umbrella go through the VFS 2014-06-25 23:53:43 +00:00
clang-tools-extra Suppress clang-tidy-diff.py. It is incompatible to py26 due to argparse. 2014-06-25 23:13:34 +00:00
compiler-rt [ASan] When iterating over segments on OSX, treat the segments' initial 2014-06-25 15:43:19 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc relational: Fix signbit 2014-06-25 21:08:38 +00:00
libcxx eliminate install of duplicate headers (take 2) 2014-06-24 20:32:11 +00:00
libcxxabi Minor libc++abi changes to make things build better with gcc. 2014-06-25 23:55:37 +00:00
lld [mach-o]: make sure custom sort method is irreflexive. 2014-06-25 15:12:55 +00:00
lldb Fix silly compilation error. 2014-06-25 18:40:58 +00:00
llvm Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
openmp CMake: remove duplicated source file from list 2014-06-02 13:09:24 +00:00
polly test/ScopInfo: Remove %defaultOpts and list passes explicitly 2014-06-25 06:38:18 +00:00