[PATCH] Add support for -funsigned-bitfields

Artyom Skrobov Artyom.Skrobov at arm.com
Mon Jan 27 09:03:24 PST 2014


The attached patch adds the support for -funsigned-bitfields and
-fsigned-bitfields command-line options, as available in GCC.

Regarding the implementation: DeclSpec::TypeSpecSign for a bitfield was not
accessible directly via the FieldDecl, so it took a bit of plumbing-through.

OK to commit?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unsigned-bitfields.patch
Type: application/octet-stream
Size: 12241 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140127/b59579f5/attachment.obj>

More information about the cfe-commits mailing list