================
@@ -53,7 +54,8 @@ void clang::ProcessWarningOptions(DiagnosticsEngine &Diags,
 
   Diags.setElideType(Opts.ElideType);
   Diags.setPrintTemplateTree(Opts.ShowTemplateTree);
-  Diags.setShowColors(Opts.ShowColors);
+  Diags.setShowColors(
+      Opts.showColors(llvm::sys::Process::StandardErrHasColors()));
----------------
jhuber6 wrote:

This was the single case I wasn't really sure on, I'll need to double check 
because the intention was to keep this up to the stream, which would hopefully 
be the log file in that case.

https://github.com/llvm/llvm-project/pull/202441
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to