llvm-project/lldb/source
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
..
API Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Breakpoint Make ValueObjectMemory::Create accept StringRefs. 2016-11-12 18:17:36 +00:00
Commands Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Core Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
DataFormatters Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Expression Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Host Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Initialization *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Interpreter Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Plugins Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Symbol Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Target Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Utility Prevent at compile time converting from Error::success() to Expected<T> 2016-11-11 04:29:25 +00:00
CMakeLists.txt [CMake] Fixing CMake to append source properties instead of overwrite them. 2016-11-10 23:56:32 +00:00
lldb.cpp One more cleanup to lldb version printing 2016-11-14 22:43:08 +00:00