[clang] Fix warning message when using negative complex range options. (PR #84567)
Michael Toguchi via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 11 07:12:19 PDT 2024
================
@@ -50,3 +61,5 @@
// 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]
+// WARN3: warning: overriding '-fcx-fortran-rules' option with 'fno-cx-limited-range' [-Woverriding-option]
+// WARN4: warning: overriding '-fcx-limited-range' option with 'fno-cx-fortran-rules' [-Woverriding-option]
----------------
mdtoguchi wrote:
You have mixed usage of options with and without the option specifier, please add the specifier to the latter option here
https://github.com/llvm/llvm-project/pull/84567
More information about the cfe-commits
mailing list