[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 25 13:52:29 PDT 2026
================
@@ -700,7 +700,8 @@ namespace {
Out.indent(2) << "Diagnostic options:\n";
#define DIAGOPT(Name, Bits, Default) DUMP_BOOLEAN(DiagOpts.Name, #Name);
#define ENUM_DIAGOPT(Name, Type, Bits, Default) \
- Out.indent(4) << #Name << ": " << DiagOpts.get##Name() << "\n";
+ Out.indent(4) << #Name << ": " \
----------------
jhuber6 wrote:
Sorry, forgot to answer this. Yes, it's necessary. Changing the value to an enum class as requested because we no longer have an implicit integer conversion.
https://github.com/llvm/llvm-project/pull/202441
More information about the flang-commits
mailing list