[PATCH] D19536: [CodeGenObjCXX] Fix handling of blocks in lambda

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Tue May 3 21:19:42 PDT 2016


ahatanak updated this revision to Diff 56090.
ahatanak added a comment.

Apply John's patch with a few modifications.

I had to special case __block variables and remove the line creating a load from a reference to fix the failing regression tests.


http://reviews.llvm.org/D19536

Files:
  lib/CodeGen/CGBlocks.cpp
  test/CodeGenObjCXX/block-nested-in-lambda.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19536.56090.patch
Type: text/x-patch
Size: 4837 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160504/24276196/attachment.bin>


More information about the cfe-commits mailing list