Explorar o código

[VFS] Fix call to getVFSFromYAML in unittests

Follow up from r261552

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261556 91177308-0d34-0410-b5e6-96231b3b80d8
Bruno Cardoso Lopes %!s(int64=9) %!d(string=hai) anos
pai
achega
2b25146c20
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      unittests/Basic/VirtualFileSystemTest.cpp

+ 1 - 1
unittests/Basic/VirtualFileSystemTest.cpp

@@ -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);
   }