llvm-project/lldb/source/Host
Zachary Turner c156427ded Don't allow direct access to StreamString's internal buffer.
This is a large API change that removes the two functions from
StreamString that return a std::string& and a const std::string&,
and instead provide one function which returns a StringRef.

Direct access to the underlying buffer violates the concept of
a "stream" which is intended to provide forward only access,
and makes porting to llvm::raw_ostream more difficult in the
future.

Differential Revision: https://reviews.llvm.org/D26698

llvm-svn: 287152
2016-11-16 21:15:24 +00:00
..
android *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
common Remove TimeValue class 2016-11-16 10:54:22 +00:00
freebsd Try to fix freebsd and android builds. 2016-09-19 18:03:54 +00:00
linux Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 20:34:10 +00:00
macosx Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
netbsd Unbreak the NetBSD build after recent changes 2016-09-20 22:26:29 +00:00
posix Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
windows Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
CMakeLists.txt Remove TimeValue class 2016-11-16 10:54:22 +00:00