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

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 27 01:19:19 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,
----------------
Fznamznon wrote:

Do we need a test for this change?

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


More information about the cfe-commits mailing list