[all-commits] [llvm/llvm-project] cd7eaa: [lldb] Add color support to StreamString (#77380)

Pete Lawrence via All-commits all-commits at lists.llvm.org
Wed Jan 10 10:13:26 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd7eaaa6db0dc9a00a097ba8e6ebad6fb2dec56a
      https://github.com/llvm/llvm-project/commit/cd7eaaa6db0dc9a00a097ba8e6ebad6fb2dec56a
  Author: Pete Lawrence <plawrence at apple.com>
  Date:   2024-01-10 (Wed, 10 Jan 2024)

  Changed paths:
    M lldb/include/lldb/Utility/StreamString.h
    M lldb/source/Utility/StreamString.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list