[cfe-dev] C++ Constructors & Destructors in the AST

Anders Carlsson andersca at me.com
Sat May 16 12:47:02 PDT 2009


On May 3, 2009, at 10:07 AM, Sebastian Redl wrote:
>
> Without understanding your motive for wrapping a reference, I cannot  
> say.
> But the move security should be preserved if you wrap an object  
> instead.




Here's a patch that makes FullExprArg wrap an object instead.

One idea I have is to make FullExprArg just be a smart pointer style  
wrapper around FullExpr, so we don't have to duplicate the ExprArg API.

Comments, thoughts?

Thanks,
Anders
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090516/c23336f7/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: textmate stdin DgA6VZ.txt
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090516/c23336f7/attachment.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090516/c23336f7/attachment-0001.html>


More information about the cfe-dev mailing list