[PATCH] D30923: Warn on enum assignment to bitfields that can't fit all values

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 13 18:32:23 PDT 2017


rnk updated this revision to Diff 91653.
rnk marked an inline comment as done.
rnk added a comment.

- Actually make this warning off by default


https://reviews.llvm.org/D30923

Files:
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaChecking.cpp
  test/SemaCXX/warn-bitfield-enum-conversion.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30923.91653.patch
Type: text/x-patch
Size: 6173 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170314/8b0d3e4c/attachment.bin>


More information about the cfe-commits mailing list