Fix the emission of the copy-initialization of a block capture
authorJohn McCall <rjmccall@apple.com>
Mon, 4 Mar 2013 06:32:36 +0000 (06:32 +0000)
committerJohn McCall <rjmccall@apple.com>
Mon, 4 Mar 2013 06:32:36 +0000 (06:32 +0000)
commita37c2fa40966b75624a524913bddfc4ea669bb46
treeb4e66fa2dbfdca72ff3a345d4e062b53a669d692
parent7b0ae11c8265f6d42bbdd02eacd1c8c07cb2fcc5
Fix the emission of the copy-initialization of a block capture
from a lambda capture when the capture is not trivially-copyable.

rdar://13295759

llvm-svn: 176431
clang/lib/CodeGen/CGBlocks.cpp
clang/test/CodeGenCXX/blocks-cxx11.cpp