[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 21:17:07 PDT 2020


hyd-dev added a comment.

In D79477#2028637 <https://reviews.llvm.org/D79477#2028637>, @njames93 wrote:

> What I mean to say is, if the behaviour of the testing environment changes to pipe the result to a terminal that supports color, it could cause this test case to also fail.


The standard output is always piped to `FileCheck`'s standard input. It will never become "a terminal that supports color".
Standard error is not redirected explicitly, but it is not used to detect color support.


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

https://reviews.llvm.org/D79477





More information about the cfe-commits mailing list