[PATCH] D130058: [Clang] Diagnose ill-formed constant expression when setting a non fixed enum to a value outside the range of the enumeration values
Tom Honermann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 29 09:06:38 PDT 2022
tahonermann added inline comments.
================
Comment at: clang/docs/ReleaseNotes.rst:55-57
+- Clang will now correctly diagnose as ill-formed a constant expression where an
+ enum without a fixed underlying type is set to a value outside the range of
+ of the enumerations values. Fixes
----------------
Nit: "of of" and need for possessive quote; "enumeration's values".
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130058/new/
https://reviews.llvm.org/D130058
More information about the cfe-commits
mailing list