[Lldb-commits] [PATCH] D49334: [LLDB} Added syntax highlighting support

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 16 07:17:30 PDT 2018


labath added a comment.

We're also trying to avoid adding new clang-specific code to the debugger core. I think it would make more sense if the (clang-based) c++ highlighter was provided by some plugin. I see a couple of options:

- the c++ language plugin: I think this is the most low-level plugin that is still language specific. However, it is specific to c(++), whereas here you format other languages too.
- the clang expression parser plugin: it's a bit of a stretch, but syntax higlighting is a kind of expression parsing
- a completely new plugin


Repository:
  rL LLVM

https://reviews.llvm.org/D49334





More information about the lldb-commits mailing list