llvm-project/lldb/source/Core
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
..
Address.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
AddressRange.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
AddressResolver.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
AddressResolverFileLine.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
AddressResolverName.cpp Make lldb::Regex use StringRef. 2016-09-21 16:01:28 +00:00
ArchSpec.cpp [LLDB][MIPS] Fix qProcessInfo to return correct pointer size based on ELF ABI 2016-10-12 10:21:09 +00:00
Baton.cpp Some more pointer safety in Breakpoint. 2016-09-13 17:53:38 +00:00
Broadcaster.cpp Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 20:34:10 +00:00
CMakeLists.txt Use llvm's demangler. 2016-09-07 16:14:00 +00:00
Communication.cpp Remove TimeValue usage from two files 2016-11-02 12:18:42 +00:00
Connection.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ConnectionMachPort.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ConnectionSharedMemory.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ConstString.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DataBufferHeap.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DataBufferMemoryMap.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DataEncoder.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DataExtractor.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Debugger.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Disassembler.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
DynamicLoader.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
EmulateInstruction.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Error.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Event.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
FastDemangle.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
FileLineResolver.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
FileSpecList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
FormatEntity.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
History.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
IOHandler.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Listener.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Log.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Logging.cpp Refactor the Args class. 2016-10-03 22:51:09 +00:00
Mangled.cpp Convert some Args index-based iteration to range-style iteration. 2016-10-05 23:40:23 +00:00
Module.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
ModuleChild.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ModuleList.cpp Prevent at compile time converting from Error::success() to Expected<T> 2016-11-11 04:29:25 +00:00
Opcode.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
PluginManager.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
RegisterValue.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
RegularExpression.cpp Convert some Expression parser functions to StringRef. 2016-11-08 04:52:16 +00:00
Scalar.cpp Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 20:34:10 +00:00
SearchFilter.cpp Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 20:34:10 +00:00
Section.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SourceManager.cpp Remove TimeValue usage from lldb/Core. NFC. 2016-11-09 14:04:08 +00:00
State.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Stream.cpp Rewrite OutputFormattedHelpText in terms of StringRef. 2016-11-08 04:12:42 +00:00
StreamAsynchronousIO.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
StreamCallback.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
StreamFile.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
StreamGDBRemote.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
StreamString.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
StringList.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
StructuredData.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Timer.cpp Refactor Timer class 2016-11-03 09:14:09 +00:00
UUID.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
UserID.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
UserSettingsController.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
VMRange.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Value.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ValueObject.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
ValueObjectCast.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ValueObjectChild.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ValueObjectConstResult.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ValueObjectConstResultCast.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ValueObjectConstResultChild.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ValueObjectConstResultImpl.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ValueObjectDynamicValue.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ValueObjectList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ValueObjectMemory.cpp Make ValueObjectMemory::Create accept StringRefs. 2016-11-12 18:17:36 +00:00
ValueObjectRegister.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ValueObjectSyntheticFilter.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ValueObjectVariable.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00