mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user