On Feb 21, 2012, at 9:02 PM, Douglas Gregor wrote:
> Author: dgregor
> Date: Tue Feb 21 23:02:47 2012
> New Revision: 151131
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=151131&view=rev
> Log:
> Generate an AST for the conversion from a lambda closure type to a
> block pointer that returns a block literal which captures (by copy)
> the lambda closure itself. Some aspects of the block literal are left
> unspecified, namely the capture variable (which doesn't actually
> exist) and the body (which will be filled in by IRgen because it can't
> be written as an AST).
> 
> Because we're switching to this model, this patch also eliminates
> tracking the copy-initialization expression for the block capture of
> the conversion function, since that information is now embedded in the
> synthesized block literal. -1 side tables FTW.

This definitely seems like the better model.

John.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to