]> granicus.if.org Git - clang/commit
Fix code generation of variables reference expressions when mixing
authorDouglas Gregor <dgregor@apple.com>
Wed, 16 May 2012 16:50:20 +0000 (16:50 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 16 May 2012 16:50:20 +0000 (16:50 +0000)
commit29a93f810ae5277446f610e8b6cdf0985febb989
tree58f6311ea3dc93f8dcfbc20b750e3ce9cf9a488c
parentd0792de17387e949c27f97a5fa4a0b3e82db9b1e
Fix code generation of variables reference expressions when mixing
blocks and lambdas, based heavily on a patch from Meador Inge. Fixes
PR12746 / <rdar://problem/11465120>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156925 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBlocks.cpp
lib/Sema/SemaExpr.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/blocks.mm