[PATCH] D41720: [clang-tidy] Add a -show-color flag.
Alexander Kornienko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 5 06:51:00 PST 2018
alexfh added a comment.
In https://reviews.llvm.org/D41720#968338, @alexfh wrote:
> Clang supports -fcolor-diagnostics. I guess, we could use it, e.g. via -extra-arg=-fcolor-diagnostics.
On a second thought, configuring the colors using -extra-arg doesn't seem like a good solution to me. A separate command line option is fine, but it should be just a frontend option independent of ClangTidyOptions.
More information about the cfe-commits