[cfe-commits] [PATCH] Support the C11 _Alignof keyword

Jordan Rose jordan_rose at apple.com
Tue Jun 19 22:00:17 PDT 2012


We currently don't treat C11's _Alignof as a keyword (though we get _Alignas right). This patch treats it like GNU __alignof and C++11 alignof.

Note that this was made by me searching for "alignof" in the source and putting in what looked right, so I'd appreciate someone double-checking my work!

Jordan

P.S. This is a git diff; use patch -p1 if using svn.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: _Alignof.patch
Type: application/octet-stream
Size: 10214 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120619/8858486e/attachment.obj>


More information about the cfe-commits mailing list