add -use-color option to enable colored output in clang-tidy-diff.py
Clang-tidy seems to output color only when printing directly to terminal, but an option to force color-output has been added in https://reviews.llvm.org/D79477
Paths
| Differential D96561
[clang-tidy] add -use-color option to clang-tidy-diff.py ClosedPublic Authored by ottojo on Feb 11 2021, 4:26 PM.
Details
Summary add -use-color option to enable colored output in clang-tidy-diff.py Clang-tidy seems to output color only when printing directly to terminal, but an option to force color-output has been added in https://reviews.llvm.org/D79477
Diff Detail
Event Timelineottojo created this revision. ottojo changed the visibility from "ottojo (Jonas Otto)" to "Public (No Login Required)".Feb 11 2021, 4:27 PM Eugene.Zelenko edited reviewers, added: hokein, aaron.ballman, njames93; removed: Restricted Project.Feb 11 2021, 5:22 PM This revision is now accepted and ready to land.Feb 16 2021, 6:44 AM Comment Actions
Thanks for letting me know -- I've commit on your behalf in af06ff1cf87ecd387a65a6f7d4d00e0b06e983fb. Thank you for the patch!
Revision Contents
Diff 323183 clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
|