On Tue, Nov 29, 2011 at 2:43 PM, Matt Beaumont-Gay <[email protected]>wrote:
> + if (!CRD->isStandardLayout()) return false; If we don't yet, it would be good to test that we warn in the case of such a construct in a non-standard-layout class. Also, it just occurs to me that we need a warning for using the zero-length array member extension under the same conditions as these -- unions, before the last member, and in non-standard-layout classes...
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
