[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:06:42 PST 2018
alexfh requested changes to this revision.
alexfh added a comment.
This revision now requires changes to proceed.
Clang supports -fcolor-diagnostics. I guess, we could use it, e.g. via -extra-arg=-fcolor-diagnostics.
================
Comment at: clang-tidy/ClangTidyOptions.h:93
+ /// \brief Show color diagnostics.
+ llvm::Optional<bool> ShowColor;
+
----------------
This doesn't belong to ClangTidyOptions. It's specific to the CLI, but CLI is not the only frontend for clang-tidy.
https://reviews.llvm.org/D41720
More information about the cfe-commits
mailing list