[PATCH] Have 'this'-returning constructors and destructors to take advantage of the new backend 'returned' attribute

Stephen Lin swlin at apple.com
Wed Jun 5 08:52:28 PDT 2013


> Well, they're serving the same purpose.
> 
> Could you combine them with the changes I've requested and send that out?  And then I'll just review that.
> 
> John.

Oh, just to be clear since it got truncated a few replies ago, the split is such that the first is basically reversion of the existing implementation using CalleeWithThisReturn and the second is the new implementation. Thought it might be helpful to keep them separate, but no worries if don't agree :)

Here's a consolidated patch with the suggested changes. Let me know if there's anything else I should fix/improve :)

-Stephen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: this-return.patch
Type: application/octet-stream
Size: 46502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130605/0178fbe6/attachment.obj>


More information about the cfe-commits mailing list