summaryrefslogtreecommitdiff
path: root/tools/bugpoint
diff options
context:
space:
mode:
authorAndy Gibbs <andyg1001@hotmail.co.uk>2013-04-12 10:56:28 +0000
committerAndy Gibbs <andyg1001@hotmail.co.uk>2013-04-12 10:56:28 +0000
commit200241e4de11981523b3d14f3acab6129efed701 (patch)
tree265e6f10406344d11ebacd61bcb9d6a261a15c82 /tools/bugpoint
parent71c1b228552ece06003d744b815f669dbfbb0772 (diff)
downloadllvm-200241e4de11981523b3d14f3acab6129efed701.tar.gz
llvm-200241e4de11981523b3d14f3acab6129efed701.tar.bz2
llvm-200241e4de11981523b3d14f3acab6129efed701.tar.xz
Replace uses of the deprecated std::auto_ptr with OwningPtr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179373 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint')
-rw-r--r--tools/bugpoint/BugDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp
index e49a96b1e0..937d86a5b8 100644
--- a/tools/bugpoint/BugDriver.cpp
+++ b/tools/bugpoint/BugDriver.cpp
@@ -122,7 +122,7 @@ bool BugDriver::addSources(const std::vector<std::string> &Filenames) {
outs() << "Read input file : '" << Filenames[0] << "'\n";
for (unsigned i = 1, e = Filenames.size(); i != e; ++i) {
- std::auto_ptr<Module> M(ParseInputFile(Filenames[i], Context));
+ OwningPtr<Module> M(ParseInputFile(Filenames[i], Context));
if (M.get() == 0) return true;
outs() << "Linking in input file: '" << Filenames[i] << "'\n";