https://llvm.org/bugs/show_bug.cgi?id=23609
Bug ID: 23609
Summary: Support CLICOLOR_FORCE in addition to
CLANG_FORCE_COLOR_DIAGNOSTICS
Product: clang
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Hi!
Currently CLANG_FORCE_COLOR_DIAGNOSTICS can be used to enable colored output
even when not running in a terminal. This is needed for build tools like ninja
and waf since they pipe clang's output.
It would be great if there was a global environment variable so that build
systems don't have to take into account every possible compiler / command.
Since on OSX CLICOLOR_FORCE is already used for this I thought it would be
great if more programs would support it. I've created a little page to document
the idea: http://bixense.com/clicolors/
So this bug report suggest that clang also checks for CLICOLOR_FORCE in
addition to CLANG_FORCE_COLOR_DIAGNOSTICS.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs