mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix compilation of sourcekit unit tests after VFS changes
This commit is contained in:
@@ -154,7 +154,7 @@ public:
|
||||
EditorConsumer &Consumer) {
|
||||
auto Args = makeArgs(DocName, CArgs);
|
||||
auto Buf = MemoryBuffer::getMemBufferCopy(Text, DocName);
|
||||
getLang().editorOpen(DocName, Buf.get(), Consumer, Args);
|
||||
getLang().editorOpen(DocName, Buf.get(), Consumer, Args, llvm::vfs::getRealFileSystem());
|
||||
}
|
||||
|
||||
void close(const char *DocName) {
|
||||
|
||||
Reference in New Issue
Block a user