[flang-commits] [clang] [clang-tools-extra] [flang] [clang] Extend diagnose_if to accept more detailed warning information, take 2 (PR #119712)

kadir çetinkaya via flang-commits flang-commits at lists.llvm.org
Mon Jan 27 04:21:34 PST 2025


================
@@ -551,10 +547,12 @@ DiagnosticIDs::getDiagnosticSeverity(unsigned DiagID, SourceLocation Loc,
   // as well as disabling all messages which are currently mapped to Warning
   // (whether by default or downgraded from Error via e.g. -Wno-error or #pragma
   // diagnostic.)
+  // FIXME: Should -w be ignored for custom warnings without a group?
----------------
kadircet wrote:

sorry you're right, i forgot that this code path wasn't executed for custom diags at all before this patch.

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


More information about the flang-commits mailing list