On Wed, Sep 4, 2013 at 3:23 PM, Jordan Rose <[email protected]> wrote:
>
>   If you declare a class inside the lambda body, does that get reached by the 
> visitor? That seems important.

I believe so; TraverseLambdaExpr explicitly traverses the lambda's
body (and doesn't care that the closure type is implicit).  Roughly,
the visitor tries to follow the explicit code hierarchy, even though
that means reaching inside some implicit code.

Visiting the implicit code could well result in visiting various code
twice unless we take measures to avoid that.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to