summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-as/llvm-as.cpp
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
commit95777550a977f970c0a9b92a5428c988f2f7db36 (patch)
tree4758ee8daa4394aabaa4d7af932dd3fc0cce9a85 /llvm/tools/llvm-as/llvm-as.cpp
parent92a31305099285290f11bed8b444d121c3fbfee3 (diff)
downloadbcm5719-llvm-95777550a977f970c0a9b92a5428c988f2f7db36.tar.gz
bcm5719-llvm-95777550a977f970c0a9b92a5428c988f2f7db36.zip
Replace uses of the deprecated std::auto_ptr with OwningPtr.
llvm-svn: 179373
Diffstat (limited to 'llvm/tools/llvm-as/llvm-as.cpp')
-rw-r--r--llvm/tools/llvm-as/llvm-as.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-as/llvm-as.cpp b/llvm/tools/llvm-as/llvm-as.cpp
index 273c4274b5d..d6f191961da 100644
--- a/llvm/tools/llvm-as/llvm-as.cpp
+++ b/llvm/tools/llvm-as/llvm-as.cpp
@@ -94,7 +94,7 @@ int main(int argc, char **argv) {
// Parse the file now...
SMDiagnostic Err;
- std::auto_ptr<Module> M(ParseAssemblyFile(InputFilename, Err, Context));
+ OwningPtr<Module> M(ParseAssemblyFile(InputFilename, Err, Context));
if (M.get() == 0) {
Err.print(argv[0], errs());
return 1;
OpenPOWER on IntegriCloud