[lldb] Add color support to StreamString (#77380)
This change just adds a `bool colors` parameter to the `StreamString` class's constructor, which it passes up to its superclass’s constructor. I'm working on another patch that prints out error messages using a `StreamString` but I wasn't getting colorized text because of this missing implementation detail. rdar://120671168
This commit is contained in:
1 parent
f502b981b4
commit
cd7eaaa6db
2 files changed
+2
-2
No files matched your search
@@ -11,7 +11,7 @@
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
StreamString::StreamString() : Stream(0, 4, eByteOrderBig) {}
|
||||
StreamString::StreamString(bool colors) : Stream(0, 4, eByteOrderBig, colors) {}
|
||||
|
||||
StreamString::StreamString(uint32_t flags, uint32_t addr_size,
|
||||
ByteOrder byte_order)
|
||||
|
||||
Reference in new issue
Block a user