[Lldb-commits] [lldb] Colorize output when searching for symbols in lldb (PR #69422)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 15 02:58:36 PST 2023
=?utf-8?q?José?= L. Junior <josejunior at 10xengineers.ai>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/69422 at github.com>
================
@@ -231,6 +231,18 @@ class Stream {
/// The string to be output to the stream.
size_t PutCString(llvm::StringRef cstr);
+ /// Output a C string to the stream with color highlighting.
+ ///
+ /// Print a C string \a text to the stream, applying color highlighting to
+ /// the specified \a pattern within the string.
----------------
DavidSpickett wrote:
Maybe:
Print a C string \a text to the stream, applying color highlighting to the portions of the string matched by the regex pattern \a pattern.
Just to emphasise the regex nature of this.
(someone may argue to call this parameter `re_pattern` as well, but don't change that now, only if later reviewers feel it's needed)
https://github.com/llvm/llvm-project/pull/69422
More information about the lldb-commits
mailing list