[Lldb-commits] [clang] [clang-tools-extra] [flang] [lldb] [Clang] Refactor and consolidate color diagnostic handling (PR #202441)

Aaron Ballman via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 11 09:22:32 PDT 2026


================
@@ -53,7 +53,7 @@ void clang::ProcessWarningOptions(DiagnosticsEngine &Diags,
 
   Diags.setElideType(Opts.ElideType);
   Diags.setPrintTemplateTree(Opts.ShowTemplateTree);
-  Diags.setShowColors(Opts.ShowColors);
+  Diags.setShowColors(Opts.showColors(/*StreamHasColors=*/true));
----------------
AaronBallman wrote:

That's what I was thinking; but if this turns out to be difficult, I don't insist either.

https://github.com/llvm/llvm-project/pull/202441


More information about the lldb-commits mailing list