[PATCH] D150226: [Clang] Remove ability to downgrade warning on the diagnostic for setting a non fixed enum to a value outside the range of the enumeration values

Manoj Gupta via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat May 13 11:32:56 PDT 2023


manojgupta added a comment.

https://github.com/bminor/binutils-gdb/blob/master/include/diagnostics.h

gdb only suppresses the warning. So this patch will likely break gdb.

As per commit: https://github.com/bminor/binutils-gdb/commit/ae61525fcf456ab395d55c45492a106d1275873a

  Since the current code does what we want, and I don't see any way of doing it
  differently, ignore -Wenum-constexpr-conversion around it.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150226/new/

https://reviews.llvm.org/D150226



More information about the cfe-commits mailing list