[PATCH] D130058: [Clang] Diagnose ill-formed constant expression when setting a non fixed enum to a value outside the range of the enumeration values
Mike Hommey via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 10 21:19:07 PDT 2022
glandium added a comment.
Also not caught: a cast of 0 when 0 is not a valid value in the enum.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130058/new/
https://reviews.llvm.org/D130058
More information about the cfe-commits
mailing list