[clang] [clang] Enable Wenum-constexpr-conversion also in system headers and … (PR #67528)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 27 02:16:19 PDT 2023


Carlos =?utf-8?q?Gálvez?= <carlos.galvez at zenseact.com>
Message-ID:
In-Reply-To: <llvm/llvm-project/pull/67528/clang at github.com>


================
@@ -405,7 +405,8 @@ def warn_fixedpoint_constant_overflow : Warning<
   InGroup<DiagGroup<"fixed-point-overflow">>;
 def warn_constexpr_unscoped_enum_out_of_range : Warning<
   "integer value %0 is outside the valid range of values [%1, %2] for the "
-  "enumeration type %3">, DefaultError, InGroup<DiagGroup<"enum-constexpr-conversion">>;
+  "enumeration type %3">, DefaultError, ShowInSystemHeader, ShowInSystemMacro,
----------------
carlosgalvezp wrote:

Done. 

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


More information about the cfe-commits mailing list