Hi,

On Tue, Jun 19, 2012 at 10:00 PM, Jordan Rose <[email protected]> wrote:
> 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!

The patch looks completely reasonable to me, but I've not checked for
other places which might need updating.

A test for the '_Alignof is a C11-specific feature' diagnostic
wouldn't go amiss :)
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to