[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
Sun May 10 06:55:25 PDT 2020


hyd-dev added a comment.

> Fair point, will this option also control the color of the diagnostics emitted by clang or just clang tidy specific diagnostics?

This option sets `DiagOpts->ShowColors` to `true`. As I known, it controls **all** diagnostics reported by the `clang-tidy` program (by `clang::tidy::(anonymous namespace)::ErrorReporter`), including `clang-diagnostic-*` and other clang-tidy checks.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79477/new/

https://reviews.llvm.org/D79477





More information about the cfe-commits mailing list