[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:29:37 PDT 2017


rnk updated this revision to Diff 91652.
rnk added a comment.

- Make test C++, add fixed type enum


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.91652.patch
Type: text/x-patch
Size: 6128 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170314/3a2ac042/attachment-0001.bin>


More information about the cfe-commits mailing list