[cfe-commits] [PATCH] Sema and AST for C++0x Lambda Expressions

John Freeman jfreeman at cse.tamu.edu
Wed Sep 7 19:36:08 PDT 2011


Attached is an updated patch addressing suggestions.

I tried to start working on handling non-trivial lambda bodies, but ran 
into trouble with Scope/DeclContext nesting. How should I handle the 
semantic and lexical contexts for the lambda's closure type and its 
members (constructor, fields, function call operator)? When should 
DeclContext::addDecl be used, if at all?

- John
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lambda-sema.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110907/715ffa5f/attachment.ksh>


More information about the cfe-commits mailing list