commit | c1b8d095c18c3f55d662c49e59f7a934ae7e9440 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Fri Jul 12 22:05:26 2013 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Fri Jul 12 22:05:26 2013 +0000 |
tree | 8716d3742b6d2c2531e87d30e2f0c6a2024af390 | |
parent | 6e9d86b31813edafb775c93e5b5595ebce1e71e1 [diff] |
Compute 'this' correctly for block in lambda. Using CurFuncDecl is both correct and simple compared to crawling the DeclContexts of the block. Fixes <rdar://problem/14415072>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186210 91177308-0d34-0410-b5e6-96231b3b80d8