diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-02-09 08:52:43 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-02-09 08:52:43 +0000 |
commit | 760b37bcae12f4bbc68bb6cabf6ed68d265b0826 (patch) | |
tree | 48753f1a1757fee866a7f6fcfac34709012ee572 /test/SemaCXX/lambda-expressions.cpp | |
parent | b326ca8ffbea96f9cc8a457b0f57be880304a6f5 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150166 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/lambda-expressions.cpp')
0 files changed, 0 insertions, 0 deletions