[PATCH] D41720: [clang-tidy] Add a -show-color flag.

Ave Milia via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 8 15:32:07 PDT 2020


avemilia added a comment.

As a workaround, you can use a standalone utility called `unbuffer` from Tcl/Tk's expect bundle. Just put it in front of the clang-tidy invocation. In case you use run-clang-tidy, you can put `invocation.insert(0, 'unbuffer')` right above `proc = subprocess.Popen(invocation, stdout=subprocess.PIPE, stderr=subprocess.PIPE)`.


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

https://reviews.llvm.org/D41720



More information about the cfe-commits mailing list