summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjCXX/block-nested-in-lambda.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [CodeGen] Look at the type of a block capture field rather than the typeAkira Hatanaka2018-08-221-23/+0
| | | | | | | | | | | | | | of the captured variable when determining whether the capture needs special handing when the block is copied or disposed. This fixes bugs in the handling of variables captured by a block that is nested inside a lambda that captures the variables by reference. rdar://problem/43540889 Differential Revision: https://reviews.llvm.org/D51025 llvm-svn: 340408
* [CodeGenObjCXX] Fix handling of blocks in lambda.Akira Hatanaka2016-05-041-0/+23
This fixes a crash that occurs when a block captures a reference that is captured by its enclosing lambda. rdar://problem/18586651 Differential Revision: http://reviews.llvm.org/D19536 llvm-svn: 268532
OpenPOWER on IntegriCloud