[clang] [Driver] Fix erroneous warning for -fcx-limited-range and -fcx-fortran-rules. (PR #79821)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 30 23:49:14 PST 2024


================
@@ -44,3 +47,4 @@
 // CHECK-NOT: -complex-range=fortran
 // WARN1: warning: overriding '-fcx-limited-range' option with '-fcx-fortran-rules' [-Woverriding-option]
 // WARN2: warning: overriding '-fcx-fortran-rules' option with '-fcx-limited-range' [-Woverriding-option]
+// range-no-diagnostics
----------------
MaskRay wrote:

Delete the unused `// range-no-diagnostics`

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


More information about the cfe-commits mailing list