[cfe-commits] r143399 - in /cfe/trunk: lib/CodeGen/CGBlocks.cpp lib/CodeGen/CGExpr.cpp test/CodeGenCXX/block-rvalue-reference-capture.cpp
dgregor at apple.com
Tue Nov 1 12:37:58 PDT 2011
On Nov 1, 2011, at 12:00 PM, jahanian wrote:
> On Oct 31, 2011, at 6:01 PM, Douglas Gregor wrote:
>> On Oct 31, 2011, at 4:44 PM, Fariborz Jahanian wrote:
>>> Author: fjahanian
>>> Date: Mon Oct 31 18:44:33 2011
>>> New Revision: 143399
>>> URL: http://llvm.org/viewvc/llvm-project?rev=143399&view=rev
>>> Adds IRGen support for captured rvalue references in blocks.
>>> In this case, temporary value is copied into block descriptor
>>> as their own copy to work on. // rdar://9971124
>> This looks like it only handles the scalar case; what about class types, for which we may need to call a copy constructor to perform the copy?
> Minor Sema work. In r143475.
> - Fariborz
More information about the cfe-commits