diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-08-27 20:03:29 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-08-27 20:03:29 +0000 |
commit | d87f8d76e0633141712c32bc5266903e0a7715cd (patch) | |
tree | e3aa41e1c2a1d760765c68a65171fe51ef02e046 /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | 7fa030330c5f36d2515792643214e3ac6f352392 (diff) | |
download | bcm5719-llvm-d87f8d76e0633141712c32bc5266903e0a7715cd.tar.gz bcm5719-llvm-d87f8d76e0633141712c32bc5266903e0a7715cd.zip |
Update for LLVM api change.
llvm-svn: 216585
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
-rw-r--r-- | clang/unittests/Basic/VirtualFileSystemTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Basic/VirtualFileSystemTest.cpp b/clang/unittests/Basic/VirtualFileSystemTest.cpp index 39febca92b0..bdd43733541 100644 --- a/clang/unittests/Basic/VirtualFileSystemTest.cpp +++ b/clang/unittests/Basic/VirtualFileSystemTest.cpp @@ -539,7 +539,7 @@ public: IntrusiveRefCntPtr<vfs::FileSystem> getFromYAMLRawString(StringRef Content, IntrusiveRefCntPtr<vfs::FileSystem> ExternalFS) { - std::unique_ptr<MemoryBuffer> Buffer(MemoryBuffer::getMemBuffer(Content)); + std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer(Content); return getVFSFromYAML(std::move(Buffer), CountingDiagHandler, this, ExternalFS); } |