master-next: Fix up recent Swift changes to work with newer VFS code.

The main different here is that VFS moved from clang to llvm.
This commit is contained in:
Bob Wilson
2018-11-30 14:26:30 -08:00
parent 5f7255f193
commit 65b53c0c52
2 changed files with 7 additions and 7 deletions

View File

@@ -367,7 +367,7 @@ static bool buildSwiftModuleFromSwiftInterface(
return !RunSuccess || SubError;
}
static bool serializedASTLooksValidOrCannotBeRead(clang::vfs::FileSystem &FS,
static bool serializedASTLooksValidOrCannotBeRead(llvm::vfs::FileSystem &FS,
StringRef ModPath) {
auto ModBuf = FS.getBufferForFile(ModPath, /*FileSize=*/-1,
/*RequiresNullTerminator=*/false);