mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
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
This commit is contained in:
@ -123,7 +123,7 @@ int main(int argc, char **argv) {
|
||||
cl::ParseCommandLineOptions(argc, argv, "llvm .bc -> .ll disassembler\n");
|
||||
|
||||
std::string ErrorMessage;
|
||||
std::auto_ptr<Module> M;
|
||||
OwningPtr<Module> M;
|
||||
|
||||
// Use the bitcode streaming interface
|
||||
DataStreamer *streamer = getDataFileStreamer(InputFilename, &ErrorMessage);
|
||||
|
Reference in New Issue
Block a user