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

Faisal Vali faisalv at gmail.com
Wed Jun 26 20:01:28 PDT 2013


The Patch (which i forgot to attach).
Faisal Vali



On Wed, Jun 26, 2013 at 9:45 PM, Faisal Vali <faisalv at gmail.com> wrote:
> Hi Richard,
>     Per your suggestion here:
> http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130624/082607.html,
> 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?
>
> thanks!
>
> Faisal Vali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: push-LSI-onto-stack-right-after-introducer.patch
Type: application/octet-stream
Size: 5044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130626/ef13367e/attachment.obj>


More information about the cfe-commits mailing list