Skip to content

[lldb] Add color support to StreamString (cherry pick) #8019

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

PortalPete
Copy link

@PortalPete PortalPete commented Jan 23, 2024

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.

Original PR:
llvm#77380

rdar://120671168

Note
I renamed my branch to apple/misc/streamstring-gets-color-cherrypick.
You can now find it here:
https://github.com/PortalPete/llvm-project/tree/apple/misc/streamstring-gets-color-cherrypick

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
@adrian-prantl
Copy link

@swift-ci test

@adrian-prantl adrian-prantl merged commit 9b05bf2 into swiftlang:stable/20230725 Jan 24, 2024
@PortalPete PortalPete deleted the misc/streamstring-gets-color-cherrypick branch February 6, 2024 01:08
@PortalPete PortalPete restored the misc/streamstring-gets-color-cherrypick branch February 6, 2024 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants