[VFS] Fix call to getVFSFromYAML in unittests

Follow up from r261552

llvm-svn: 261556
This commit is contained in:
Bruno Cardoso Lopes
2016-02-22 19:02:27 +00:00
parent 435c2c9def
commit 32b6222bc3

View File

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