diff options
| author | Ahmed Charles <ahmedcharles@gmail.com> | 2014-03-07 20:03:18 +0000 |
|---|---|---|
| committer | Ahmed Charles <ahmedcharles@gmail.com> | 2014-03-07 20:03:18 +0000 |
| commit | 70639e8de3f7232504008ae36507eb0125093907 (patch) | |
| tree | f909e5aea2fab1df90f2ecae3695c0acfeb45e8c /lib/Basic/FileSystemStatCache.cpp | |
| parent | caabaa8e4b0d6d4534152852a3dfc69cfd386050 (diff) | |
Replace OwningPtr with std::unique_ptr.
This compiles cleanly with lldb/lld/clang-tools-extra/llvm.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203279 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/FileSystemStatCache.cpp')
| -rw-r--r-- | lib/Basic/FileSystemStatCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/FileSystemStatCache.cpp b/lib/Basic/FileSystemStatCache.cpp index dfab9299c0..9d87999509 100644 --- a/lib/Basic/FileSystemStatCache.cpp +++ b/lib/Basic/FileSystemStatCache.cpp @@ -77,7 +77,7 @@ bool FileSystemStatCache::get(const char *Path, FileData &Data, bool isFile, // // Because of this, check to see if the file exists with 'open'. If the // open succeeds, use fstat to get the stat info. - llvm::OwningPtr<vfs::File> OwnedFile; + std::unique_ptr<vfs::File> OwnedFile; llvm::error_code EC = FS.openFileForRead(Path, OwnedFile); if (EC) { |
