From d87f8d76e0633141712c32bc5266903e0a7715cd Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 27 Aug 2014 20:03:29 +0000 Subject: Update for LLVM api change. llvm-svn: 216585 --- clang/unittests/Basic/VirtualFileSystemTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp') 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 getFromYAMLRawString(StringRef Content, IntrusiveRefCntPtr ExternalFS) { - std::unique_ptr Buffer(MemoryBuffer::getMemBuffer(Content)); + std::unique_ptr Buffer = MemoryBuffer::getMemBuffer(Content); return getVFSFromYAML(std::move(Buffer), CountingDiagHandler, this, ExternalFS); } -- cgit v1.2.3