llvm-project/lldb/source/Plugins/Language/ObjC
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
..
CF.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CF.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CMakeLists.txt Add data formatters for NSError and NSException 2015-11-06 02:43:32 +00:00
Cocoa.cpp Make some code not manipulate the underlying string of a StreamString. 2016-11-15 20:13:14 +00:00
Cocoa.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CoreMedia.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CoreMedia.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
NSArray.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
NSDictionary.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
NSDictionary.h Make it so that one can register prefix matches as well as identical matches as extra cases for NSDictionary data formatting 2016-09-20 18:26:30 +00:00
NSError.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
NSException.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
NSIndexPath.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
NSSet.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
NSSet.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
NSString.cpp This debugging message has been left in the code for years, until one day it randomly hit on some corrupted memory 2016-10-20 22:05:21 +00:00
NSString.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ObjCLanguage.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
ObjCLanguage.h Convert UniqueCStringMap to use StringRef. 2016-10-06 21:22:44 +00:00