[all-commits] [llvm/llvm-project] d6d36b: Add a --use-color option to clang-query to allow f...
Tom Ritter via All-commits
all-commits at lists.llvm.org
Mon Jan 25 05:12:29 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d6d36baa33e76ace11ac20c03de1097d48bd9246
https://github.com/llvm/llvm-project/commit/d6d36baa33e76ace11ac20c03de1097d48bd9246
Author: Tom Ritter <tom at ritter.vg>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M clang-tools-extra/clang-query/Query.cpp
M clang-tools-extra/clang-query/tool/ClangQuery.cpp
Log Message:
-----------
Add a --use-color option to clang-query to allow forcing the behavior
D62056 makes the output color if clang auto-detects a tty, but if it
does not, there is no way to force it to use colors anyway.
This patch adjusts the command-lines given to ClangTool which will
force color on or off if --use-color is specified.
More information about the All-commits
mailing list