diff options
author | Ahmed Charles <ahmedcharles@gmail.com> | 2014-03-05 10:27:34 +0000 |
---|---|---|
committer | Ahmed Charles <ahmedcharles@gmail.com> | 2014-03-05 10:27:34 +0000 |
commit | fba066461fdb036b77d7da1fe8039781dcca9910 (patch) | |
tree | 0c71e3f3385eb002340cd4d01472c099f0872e3e /llvm/unittests/Support/MemoryBufferTest.cpp | |
parent | 64e9aa5c93d54bd26d0e8d337a2fb48979eaafa2 (diff) | |
download | bcm5719-llvm-fba066461fdb036b77d7da1fe8039781dcca9910.tar.gz bcm5719-llvm-fba066461fdb036b77d7da1fe8039781dcca9910.zip |
[C++11] Add overloads for externally used OwningPtr functions.
This will allow external callers of these functions to switch over time
rather than forcing a breaking change all a once. These particular
functions were determined by building clang/lld/lldb.
llvm-svn: 202959
Diffstat (limited to 'llvm/unittests/Support/MemoryBufferTest.cpp')
-rw-r--r-- | llvm/unittests/Support/MemoryBufferTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/MemoryBufferTest.cpp b/llvm/unittests/Support/MemoryBufferTest.cpp index 5bd8ee673e2..43b7e0deeb6 100644 --- a/llvm/unittests/Support/MemoryBufferTest.cpp +++ b/llvm/unittests/Support/MemoryBufferTest.cpp @@ -78,7 +78,7 @@ TEST_F(MemoryBufferTest, NullTerminator4K) { } OF.close(); - OwningPtr<MemoryBuffer> MB; + OwningBuffer MB; error_code EC = MemoryBuffer::getFile(TestPath.c_str(), MB); ASSERT_FALSE(EC); |