Fw: [PATCH] Replace deprecated std::auto_ptr with OwningPtr

Andy Gibbs andyg1001 at hotmail.co.uk
Wed Apr 10 14:14:38 PDT 2013


Hi again,

Did anyone have an opportunity to check the attached patch?

Thanks!

Andy


On Thursday, April 04, 2013 7:22 PM, Andy Gibbs wrote:
> Hi,
>
> Attached here is a patch that simply replaces uses of std::auto_ptr where
> they appear inside llvm with OwningPtr, which I understand to have the 
> same
> functionality.  Making the replacement removes the compile warnings due to
> the use of a deprecated class (in C++11).  Would someone please review 
> this
> patch for its applicability before I commit.
>
> Many thanks,
>
> Andy

 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: auto_ptr.diff
Type: application/octet-stream
Size: 16690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130410/a1082b1c/attachment.obj>


More information about the llvm-commits mailing list