r186817 - Implement the part of C89 6.5.7 p3 requiring a constant initializer list

Richard Smith richard at metafoo.co.uk
Mon Jul 22 12:25:06 PDT 2013


On Mon, Jul 22, 2013 at 12:13 PM, Enea Zaffanella <zaffanella at cs.unipr.it>wrote:

> On 07/22/2013 08:09 PM, Enea Zaffanella wrote:
>
>> On 07/22/2013 06:10 PM, NAKAMURA Takumi wrote:
>>
>>> Tweaked in r186833. I am afraid if it were redundant...
>>>
>>
>> As a matter of fact, my patch was overshooting C89 6.5.7 p3:
>> the warning should only be emitted when the initalizer is an
>> InitListExpr node.
>> Sorry for the troubles caused, I will commit the fix asap.
>>
>
> Fix committed as r186859.
>

Please also revert Nakamura-san's r186833, since it should now no longer be
necessary.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130722/4c8c775b/attachment.html>


More information about the cfe-commits mailing list