[patch] Don't compute a "patched" storage class

Douglas Gregor dgregor at apple.com
Mon Apr 15 01:13:16 PDT 2013

On Apr 13, 2013, at 11:10 PM, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:

>> Looks like "as written" is a somewhat fuzzy concept for
>> instantiations. Maybe it would be more regular to say that a
>> instantiated function gets a static storage class if the template
>> isStatic()? That should allow us to remove the
>> getTemplateSpecializationInfo in isStatic().
> The attached patch does it. Do you think it is an improvement?

Yes, I think it's an improvement. LGTM!

	- Doug

> Cheers,
> Rafael
> <t.patch>

More information about the cfe-commits mailing list