Replace uses of the deprecated std::auto_ptr with OwningPtr.
authorAndy Gibbs <andyg1001@hotmail.co.uk>
Mon, 15 Apr 2013 12:06:32 +0000 (12:06 +0000)
committerAndy Gibbs <andyg1001@hotmail.co.uk>
Mon, 15 Apr 2013 12:06:32 +0000 (12:06 +0000)
commit604b3573f955d61ba87215c25ba2f52477c71ecc
treeb048b51c7f474b0442a8151022181f4c1c7bd3a9
parenteaa752f5e1c10fc7fdbfb7f497a75c623677cb1e
Replace uses of the deprecated std::auto_ptr with OwningPtr.

This is a rework of the broken parts in r179373 which were subsequently reverted in r179374 due to incompatibility with C++98 compilers.  This version should be ok under C++98.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179520 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/RegAllocPBQP.h
lib/CodeGen/RegAllocPBQP.cpp
tools/llvm-link/llvm-link.cpp