[PATCH] Add a warning implementing C89 3.5.7p3

Enea Zaffanella zaffanella at cs.unipr.it
Sun Jul 21 09:57:53 PDT 2013


Please find attached a patch (with testcase) implementing part of C89 
3.5.7 p3. C89 is stricter than C99, as it requires constant initializer 
list elements for aggregate/union type objects even when the objects do 
not have static storage duration.

OK to commit?

Enea.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: C89-3.5.7p3.patch
Type: text/x-diff
Size: 2678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130721/bd26a4f0/attachment.patch>


More information about the cfe-commits mailing list