Skip to content
Commit 410d6af9 authored by Douglas Gregor's avatar Douglas Gregor
Browse files

Restore the appropriate lexical declaration context for a lambda's

function call operator (to the lambda class). This allows us to IRgen
calls to simple (non-capturing) lambdas, e.g.,

  [](int i, int j) -> int { return i + j; }(1, 2)

Eli will be providing test cases as he brings up more IRgen.

llvm-svn: 150166
parent 656bc62a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment