[clang] [Clang] Demote mixed enumeration arithmetic error to a warning (PR #131811)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 18 07:55: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
----------------
cor3ntin wrote:
Comparing with double seems a lot weirder than comparing with another enum and no one complained about that; I think it should remain an error
https://github.com/llvm/llvm-project/pull/131811
More information about the cfe-commits
mailing list