Converted uses of scoped_ptr to OwningPtr.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45265 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/TranslationUnit.cpp b/AST/TranslationUnit.cpp
index 8c68e35..777e6e9 100644
--- a/AST/TranslationUnit.cpp
+++ b/AST/TranslationUnit.cpp
@@ -20,7 +20,7 @@
 #include "llvm/Bitcode/Deserialize.h"
 #include "llvm/Support/MemoryBuffer.h"
 #include "llvm/System/Path.h"
-#include "llvm/ADT/scoped_ptr.h"
+#include "llvm/ADT/OwningPtr.h"
 
 #include <stdio.h>
 
@@ -125,7 +125,7 @@
 clang::ReadASTBitcodeFile(const llvm::sys::Path& Filename, FileManager& FMgr) {
   
   // Create the memory buffer that contains the contents of the file.  
-  llvm::scoped_ptr<llvm::MemoryBuffer> 
+  llvm::OwningPtr<llvm::MemoryBuffer> 
     MBuffer(llvm::MemoryBuffer::getFile(Filename.c_str(),
                                         strlen(Filename.c_str())));