Skip to content

Commit 9b05bf2

Browse files
Merge pull request #8019 from PortalPete/misc/streamstring-gets-color-cherrypick
[lldb] Add color support to StreamString (cherry pick)
2 parents 00e72db + 4b5cc2d commit 9b05bf2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/include/lldb/Utility/StreamString.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace lldb_private {
2222

2323
class StreamString : public Stream {
2424
public:
25-
StreamString();
25+
StreamString(bool colors = false);
2626

2727
StreamString(uint32_t flags, uint32_t addr_size, lldb::ByteOrder byte_order);
2828

lldb/source/Utility/StreamString.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
using namespace lldb;
1212
using namespace lldb_private;
1313

14-
StreamString::StreamString() : Stream(0, 4, eByteOrderBig) {}
14+
StreamString::StreamString(bool colors) : Stream(0, 4, eByteOrderBig, colors) {}
1515

1616
StreamString::StreamString(uint32_t flags, uint32_t addr_size,
1717
ByteOrder byte_order)

0 commit comments

Comments
 (0)