[cfe-commits] [PATCH][MS][Review request] - Late Microsoft template parsing

Douglas Gregor dgregor at apple.com
Mon Mar 14 14:04:22 PDT 2011


On Mar 14, 2011, at 2:03 PM, Francois Pichet wrote:

> On Mon, Mar 14, 2011 at 1:46 PM, Douglas Gregor <dgregor at apple.com> wrote:
>> 
>> On Mar 14, 2011, at 10:36 AM, John McCall wrote:
>> 
>>> On Mar 13, 2011, at 11:07 PM, Francois Pichet wrote:
>>>> This patch implements "Late template parsing" in Microsoft mode.
>>>> It solves the problem of Microsoft allowing names not yet declared in
>>>> template code.
>>> 
>>> I haven't looked at the patch yet, but this defintely needs to be enabled
>>> by its own -cc1 language option;  that option should then be enabled by
>>> windows targets, rather than tying this to -fms-extensions.
>> 
>> 
>> Yes. -fdelayed-template-parsing seems a good name.
>> 
>>        - Doug
>> 
> 
> ok then i'll provide a new patch soon. I'll remove the *Microsoft*
> from all the structs and functions names to make the patch more
> generic.

Thanks!

	- Doug



More information about the cfe-commits mailing list