commit | c5792aa90fa45a1842f190c146f19e2c71ea6fbd | [log] [tgz] |
---|---|---|
author | Akira Hatanaka <ahatanaka@apple.com> | Wed Feb 27 18:17:16 2019 +0000 |
committer | Akira Hatanaka <ahatanaka@apple.com> | Wed Feb 27 18:17:16 2019 +0000 |
tree | 3b0e58ac909124579b2391ffd93e404edea8dc6e | |
parent | 69bec61998c702f790cf5c9f17a3a4a086bd5804 [diff] |
Avoid needlessly copying a block to the heap when a block literal initializes a local auto variable or is assigned to a local auto variable that is declared in the scope that introduced the block literal. rdar://problem/13289333 https://reviews.llvm.org/D58514 llvm-svn: 355012