projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace uses of the deprecated std::auto_ptr with OwningPtr.
[oota-llvm.git]
/
tools
/
llvm-as
/
llvm-as.cpp
diff --git
a/tools/llvm-as/llvm-as.cpp
b/tools/llvm-as/llvm-as.cpp
index 273c4274b5d8aef06d4d1df586acdb39aef86eee..d6f191961daa27967d12d0761bed13e2048ccd54 100644
(file)
--- a/
tools/llvm-as/llvm-as.cpp
+++ b/
tools/llvm-as/llvm-as.cpp
@@
-94,7
+94,7
@@
int main(int argc, char **argv) {
// Parse the file now...
SMDiagnostic Err;
-
std::auto_p
tr<Module> M(ParseAssemblyFile(InputFilename, Err, Context));
+
OwningP
tr<Module> M(ParseAssemblyFile(InputFilename, Err, Context));
if (M.get() == 0) {
Err.print(argv[0], errs());
return 1;