summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2013-07-12 22:05:26 +0000
committerEli Friedman <eli.friedman@gmail.com>2013-07-12 22:05:26 +0000
commitc1b8d095c18c3f55d662c49e59f7a934ae7e9440 (patch)
tree8716d3742b6d2c2531e87d30e2f0c6a2024af390 /lib/CodeGen/CGExprConstant.cpp
parent6e9d86b31813edafb775c93e5b5595ebce1e71e1 (diff)
downloadclang-c1b8d095c18c3f55d662c49e59f7a934ae7e9440.tar.gz
clang-c1b8d095c18c3f55d662c49e59f7a934ae7e9440.tar.bz2
clang-c1b8d095c18c3f55d662c49e59f7a934ae7e9440.tar.xz
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
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions