r261556 - [VFS] Fix call to getVFSFromYAML in unittests

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 22 11:02:28 PST 2016


Author: bruno
Date: Mon Feb 22 13:02:27 2016
New Revision: 261556

URL: http://llvm.org/viewvc/llvm-project?rev=261556&view=rev
Log:
[VFS] Fix call to getVFSFromYAML in unittests

Follow up from r261552

Modified:
    cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp

Modified: cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp?rev=261556&r1=261555&r2=261556&view=diff
==============================================================================
--- cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp (original)
+++ cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp Mon Feb 22 13:02:27 2016
@@ -662,7 +662,7 @@ public:
   getFromYAMLRawString(StringRef Content,
                        IntrusiveRefCntPtr<vfs::FileSystem> ExternalFS) {
     std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer(Content);
-    return getVFSFromYAML(std::move(Buffer), CountingDiagHandler, this,
+    return getVFSFromYAML(std::move(Buffer), CountingDiagHandler, "", this,
                           ExternalFS);
   }
 




More information about the cfe-commits mailing list