summaryrefslogtreecommitdiff
path: root/include/llvm/Object/Archive.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-05-18 21:55:38 +0000
committerCraig Topper <craig.topper@gmail.com>2014-05-18 21:55:38 +0000
commit6ec950549b013843a5348cc4fa5684ef10a86e7e (patch)
tree025ac3e1f525fd70a948a3d7daf20e3c4241f324 /include/llvm/Object/Archive.h
parent677564fe722595d204f2b530db8706ac1037b2b4 (diff)
downloadllvm-6ec950549b013843a5348cc4fa5684ef10a86e7e.tar.gz
llvm-6ec950549b013843a5348cc4fa5684ef10a86e7e.tar.bz2
llvm-6ec950549b013843a5348cc4fa5684ef10a86e7e.tar.xz
Remove last uses of OwningPtr from llvm. As far as I can tell these method versions are not used by lldb, lld, or clang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209103 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object/Archive.h')
-rw-r--r--include/llvm/Object/Archive.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/llvm/Object/Archive.h b/include/llvm/Object/Archive.h
index a73b13e050..652b6597be 100644
--- a/include/llvm/Object/Archive.h
+++ b/include/llvm/Object/Archive.h
@@ -89,13 +89,9 @@ public:
return StringRef(Data.data() + StartOfFile, getSize());
}
- error_code getMemoryBuffer(OwningPtr<MemoryBuffer> &Result,
- bool FullPath = false) const;
error_code getMemoryBuffer(std::unique_ptr<MemoryBuffer> &Result,
bool FullPath = false) const;
- error_code getAsBinary(OwningPtr<Binary> &Result,
- LLVMContext *Context = nullptr) const;
error_code getAsBinary(std::unique_ptr<Binary> &Result,
LLVMContext *Context = nullptr) const;
};