]> granicus.if.org Git - clang/commit
When possible, move __block variables to the heap rather than copying them.
authorDouglas Gregor <dgregor@apple.com>
Thu, 7 Mar 2013 22:38:24 +0000 (22:38 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 7 Mar 2013 22:38:24 +0000 (22:38 +0000)
commit6cda3e604f2a2fa289cc9145719ba84461315e21
treee167f3a481592821f8084e509d284360787eb3fa
parent9eda3abe7e183b05834947391c0cdc291f4ee0d8
When possible, move __block variables to the heap rather than copying them.

Fixes <rdar://problem/13330126>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176663 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaCXX/blocks.cpp