[PATCH] D58164: Block+lambda: allow reference capture
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 14 16:51:17 PDT 2019
ahatanak updated this revision to Diff 204882.
ahatanak added a comment.
- Add another test case which has a block nested inside a lambda and causes clang to crash.
- Fix the capture type passed to `addCapture` in `RebuildLambdaScopeInfo`.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58164/new/
https://reviews.llvm.org/D58164
Files:
lib/Sema/SemaDecl.cpp
test/CodeGenObjCXX/block-nested-in-lambda.mm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58164.204882.patch
Type: text/x-patch
Size: 5644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190614/0050570c/attachment-0001.bin>
More information about the cfe-commits
mailing list