[PATCH] Push a LambdaScopeInfo on after introducer, in anticipation for generic lambdas

Faisal Vali faisalv at gmail.com
Wed Jun 26 19:45:06 PDT 2013

Hi Richard,
    Per your suggestion here:
the attached patch pushes a lambda scope info on right after
the introducer is parsed.

I've also added some basic support for passing the
TemplateParameterDepth from the parser into Sema.
I will obviously build on this with generic lambdas.

Currently, in the transformer, we don't really need the
template depth, so i pass in -1 converted to an unsigned.
Is there a better way to do this - should i make AutoTPDepth
optional with the lambdascopeinfo (seems a little overkill?)

There is no functionality change here, so if you approve, perhaps
i can commit this change on its own?


Faisal Vali

More information about the cfe-commits mailing list