[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

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 12 10:45:12 PDT 2023


shafik added a comment.

In D150226#4336803 <https://reviews.llvm.org/D150226#4336803>, @thesamesam wrote:

> Adding to the concerns raised above, I don't think we're there yet. See https://bugs.gentoo.org/buglist.cgi?quicksearch=enum-constexpr-conversion&list_id=6843355 and keep in mind that a bunch of stuff isn't buildable with Clang 16 yet anyway so I expect a bunch more to be broken on top of that.

Is there anything we can do to help move these along? We really want to fix this asap b/c we are not conforming at this point wrt constant expressions and this causes other undesirable issues w/ diagnostics and SFINAE that are easily fixable.

> Also, e.g. gdb isn't fixed in a release yet.

Can you give me a reference for the gdb issue?


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

https://reviews.llvm.org/D150226



More information about the cfe-commits mailing list