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

Nikolas Klauser via flang-commits flang-commits at lists.llvm.org
Fri Jan 24 02:00:44 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?
----------------
philnik777 wrote:

This is the current behaviour except if the custom diagnostic has a group.

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


More information about the flang-commits mailing list