On Mon, Jan 23, 2012 at 6:54 AM, Hans Wennborg <[email protected]> wrote:
> Hi all,
>
> The attached patch makes sure Clang doesn't warn about anonymous
> struct/union with -pedantic in C11.
>
> Please let me know if it is ok to land.
We don't actually quite implement what C11 requires; for example, we
reject the following:
struct s {
struct { int i; };
int a[];
};
I guess this is okay as a starting point, though.
-Eli
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits