diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2018-08-22 13:41:19 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2018-08-22 13:41:19 +0000 |
commit | 2a5e4639eaa6d85d882a60cd31d82110a8ef55d0 (patch) | |
tree | ea389085a0b7fef879c14a01b0fec27a27ba152d /clang/test/SemaTemplate | |
parent | 2ca72e03c3e690d618319c9563b5e28d10b9f857 (diff) | |
download | bcm5719-llvm-2a5e4639eaa6d85d882a60cd31d82110a8ef55d0.tar.gz bcm5719-llvm-2a5e4639eaa6d85d882a60cd31d82110a8ef55d0.zip |
[CodeGen] Look at the type of a block capture field rather than the type
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
Diffstat (limited to 'clang/test/SemaTemplate')
0 files changed, 0 insertions, 0 deletions