[clang] [Clang] Demote mixed enumeration arithmetic error to a warning (PR #131811)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 18 07:47:57 PDT 2025


================
@@ -1,9 +1,10 @@
-// RUN: %clang_cc1 %s -std=c++2c -fsyntax-only -verify -triple %itanium_abi_triple
+// RUN: %clang_cc1 %s -std=c++2c -fsyntax-only -verify=both,expected
+// RUN: %clang_cc1 %s -std=c++2c -fsyntax-only -verify=both,nowarn -Wno-enum-enum-conversion
----------------
AaronBallman wrote:

`nowarn` is unused, but I think it should be silencing the invalid comparison diagnostic, shouldn't it?

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


More information about the cfe-commits mailing list