On Tue, November 22, 2011 22:39, Chandler Carruth wrote:
> On Tue, Nov 22, 2011 at 2:30 PM, Richard Smith <[email protected]>wrote:
>> 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...

In r145087. We need the helper function because class ConstExprEmitter is
defined in that .cpp file.

Thanks!
Richard

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to