[Lldb-commits] [PATCH] D81058: [lldb/Interpreter] Color "error:" and "warning:" in the CommandReturnObject output.
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 3 00:30:52 PDT 2020
JDevlieghere created this revision.
JDevlieghere added reviewers: LLDB, labath, teemperor, clayborg.
JDevlieghere added a project: LLDB.
Herald added a subscriber: abidh.
JDevlieghere added a parent revision: D81056: [Support] Replace 'DisableColors' boolean with 'ColorMode' enum.
JDevlieghere retitled this revision from "[Interpreter] Color "error:" and "warning:" in the CommandReturnObject output." to "[lldb/Interpreter] Color "error:" and "warning:" in the CommandReturnObject output.".
Color the `error:` and `warning:` part of the CommandReturnObject output, similar to how an error is printed from the driver when colors are enabled.
Here's a screenshot of the output: https://jonasdevlieghere.com/static/colors.png
Repository:
rLLDB LLDB
https://reviews.llvm.org/D81058
Files:
lldb/include/lldb/Interpreter/CommandReturnObject.h
lldb/include/lldb/Utility/Stream.h
lldb/source/Interpreter/CommandInterpreter.cpp
lldb/source/Interpreter/CommandReturnObject.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81058.268072.patch
Type: text/x-patch
Size: 5690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200603/f7ab5029/attachment-0001.bin>
More information about the lldb-commits
mailing list