[PATCH] D10018: C11 _Bool bitfield diagnostic
Rachel Craik via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 11 13:05:41 PDT 2015
rcraik updated the summary for this revision.
rcraik updated this revision to Diff 34571.
rcraik added a comment.
switched to using getIntWidth instead of getTypeSize and updated the error and warning messages accordingly, as have the necessary test cases. The separate check for _Bool bitfields has been removed, so the check is now consistent for all types.
http://reviews.llvm.org/D10018
Files:
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/CodeGen/bitfield-2.c
test/CodeGenCXX/warn-padded-packed.cpp
test/Misc/warning-flags.c
test/Sema/bitfield.c
test/SemaCXX/bitfield-layout.cpp
test/SemaCXX/constant-expression-cxx11.cpp
test/SemaCXX/constant-expression-cxx1y.cpp
test/SemaCXX/ms_wide_bitfield.cpp
test/SemaObjC/class-bitfield.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10018.34571.patch
Type: text/x-patch
Size: 12041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150911/1b951e51/attachment.bin>
More information about the cfe-commits
mailing list