[Lldb-commits] [PATCH] D49334: Added syntax highlighting support
Raphael Isemann via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 13 18:16:01 PDT 2018
teemperor created this revision.
Herald added a subscriber: mgorny.
This patch adds syntax highlighting support to LLDB. When enabled (and lldb is allowed
to use colors), printed source code is annotated with the ANSI color escape sequences.
So far we have only one highlighter which is based on Clang and is responsible for all
languages that are supported by Clang. It essentially just runs the raw lexer over the input
and then surrounds the specific tokens with the configured escape sequences.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 31760 bytes
Desc: not available
More information about the lldb-commits