[PATCH] D44215: [Support] Move syntax highlighting into support

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 7 09:38:19 PST 2018


JDevlieghere created this revision.
JDevlieghere added reviewers: aprantl, sunfish, rafael, dblaikie, davide.
Herald added subscribers: hiraditya, mgorny.

Move the DWARF syntax highlighting into support. This has several
advantages, among which the facts that this makes the WithColor RAII
wrapper available outside libDebugInfo. Furthermore, several projects
all have their own code for handling colored output. This provides a
place to centralize it and guarantees a consistent experience.


Repository:
  rL LLVM

https://reviews.llvm.org/D44215

Files:
  llvm/include/llvm/Support/SyntaxHighlighting.h
  llvm/lib/DebugInfo/DWARF/CMakeLists.txt
  llvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
  llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
  llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
  llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
  llvm/lib/DebugInfo/DWARF/SyntaxHighlighting.cpp
  llvm/lib/DebugInfo/DWARF/SyntaxHighlighting.h
  llvm/lib/Support/CMakeLists.txt
  llvm/lib/Support/SyntaxHighlighting.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44215.137417.patch
Type: text/x-patch
Size: 6970 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180307/2a907ee0/attachment.bin>


More information about the llvm-commits mailing list