[flang-commits] [clang] [clang-tools-extra] [flang] [lldb] [Clang] Refactor and consolidate color diagnostic handling (PR #202441)
Joseph Huber via flang-commits
flang-commits at lists.llvm.org
Thu Jun 11 09:14:02 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));
----------------
jhuber6 wrote:
I'll look into it, how would we check it's correct? Whether or not we see any ANSI?
https://github.com/llvm/llvm-project/pull/202441
More information about the flang-commits
mailing list