diff options
Diffstat (limited to 'lldb/source/Core/Stream.cpp')
-rw-r--r-- | lldb/source/Core/Stream.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/source/Core/Stream.cpp b/lldb/source/Core/Stream.cpp index 7614d02742b..2f9c650ee5b 100644 --- a/lldb/source/Core/Stream.cpp +++ b/lldb/source/Core/Stream.cpp @@ -227,6 +227,11 @@ Stream &Stream::operator<<(const char *s) { return *this; } +Stream &Stream::operator<<(llvm::StringRef str) { + Write(str.data(), str.size()); + return *this; +} + //------------------------------------------------------------------ // Stream the pointer value out to this stream. //------------------------------------------------------------------ |