[PATCH] D79477: [clang-tidy] Add --use-color command line option and UseColor option to control colors in diagnostics
hyd-dev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 8 22:00:24 PDT 2020
hyd-dev added a comment.
None of the clang-tidy command line options are prefixed with `-f`.
This command line option used to be `--color-diagnostics`, but I've followed @hokein's advice to change it to `--use-color`.
If you mean to use the `-fcolor-diagnostics` option from `compile_commands.json`, clang-tidy and clang are two separate tools. The users may not want them to share the same setting, because they may invoke them in different environments.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79477/new/
https://reviews.llvm.org/D79477
More information about the cfe-commits
mailing list