Skip to content
Snippets Groups Projects
  • Douglas Gregor's avatar
    ac1303ec
    Generate an AST for the conversion from a lambda closure type to a · ac1303ec
    Douglas Gregor authored
    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.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151131 91177308-0d34-0410-b5e6-96231b3b80d8
    ac1303ec
    History
    Generate an AST for the conversion from a lambda closure type to a
    Douglas Gregor authored
    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.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151131 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.