[PATCH] Replace deprecated std::auto_ptr with OwningPtr

Andy Gibbs andyg1001 at hotmail.co.uk
Thu Apr 4 10:22:39 PDT 2013


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/20130404/67bef3c5/attachment.obj>


More information about the llvm-commits mailing list