[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 01:35:52 PDT 2023


================
@@ -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:

Yes, will fix!

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


More information about the cfe-commits mailing list