[PATCH] D131528: [Clang] Restrict non fixed enum to a value outside the range of the enumeration values warning to context requiring a constant expression

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 10 06:00:29 PDT 2022


erichkeane accepted this revision.
erichkeane added a comment.

Yep, looks fine to me.  We might consider adding an additional warning-as-warning for the alternative case (could you put a comment on this 'if' statement to that effect?).


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

https://reviews.llvm.org/D131528



More information about the cfe-commits mailing list