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 | fbf6daaec64cced33b5b4e944ef4804ad79d76c2 (patch) | |
tree | 4ccdd8285c6cba6f1216cab860a714d04d37962c /unittests | |
parent | 2e816f0d562294c82b9fb31762371c59654c71e1 (diff) | |
download | llvm-fbf6daaec64cced33b5b4e944ef4804ad79d76c2.tar.gz llvm-fbf6daaec64cced33b5b4e944ef4804ad79d76c2.tar.bz2 llvm-fbf6daaec64cced33b5b4e944ef4804ad79d76c2.tar.xz |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202959 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/Support/MemoryBufferTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Support/MemoryBufferTest.cpp b/unittests/Support/MemoryBufferTest.cpp index 5bd8ee673e..43b7e0deeb 100644 --- a/unittests/Support/MemoryBufferTest.cpp +++ b/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); |