On Tue, Nov 22, 2011 at 2:30 PM, Richard Smith <[email protected]>wrote:

> Hi,
>
> The attached patch fixes the compound-literals-in-C++ extension to always
> use
> static storage duration for file-scope compound literals, as per GCC's
> documentation for this extension. Currently we only give them static
> storage
> duration if the initializer in which they appear is a constant.
>
> OK to commit?
>

It's not clear to me why we need the helper function? Otherwise this looks
fine to me...
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to