[flang-commits] [flang] [Flang] Support -Werror=<name> and -Wno-error=<name> (PR #205413)
Tarun Prabhu via flang-commits
flang-commits at lists.llvm.org
Wed Jun 24 11:49:27 PDT 2026
================
@@ -0,0 +1,30 @@
+! Verify unknown, malformed, and -Werror= / -Wno-error= for another warning group.
+!
+! Unknown Flang groups fall through to Clang's ProcessWarningOptions and are
+! accepted without "Unknown diagnostic option". Malformed -Werror= is rejected.
+! Scanning warnings come from -ffixed-form on %S/Inputs/werror-unknown-scanning.f90.
----------------
tarunprabhu wrote:
It might be more useful to move these closer to their corresponding tests rather than have them together up here. These could be the "section" headers instead of having those ASCII separators
```suggestion
! Unknown Flang groups are
! accepted without "Unknown diagnostic option". Malformed -Werror= is rejected.
! Scanning warnings come from -ffixed-form on %S/Inputs/werror-unknown-scanning.f90.
```
https://github.com/llvm/llvm-project/pull/205413
More information about the flang-commits
mailing list