[PATCH] D30923: Warn on enum assignment to bitfields that can't fit all values
Hal Finkel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 14 08:49:51 PDT 2017
hfinkel added a comment.
In https://reviews.llvm.org/D30923#700620, @thakis wrote:
> Maybe it should have some "to suppress the warning, do X" fixit?
I think we should at least include how many bits the field should have to fix the problem (pointing to the relevant field definition certainly seems helpful).
More information about the cfe-commits