Skip to content

Commit 06120c9

Browse files
committed
More fixes in recent Swift changes to work with newer VFS code.
1 parent 1b453be commit 06120c9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/swift/Frontend/ParseableInterfaceSupport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class ParseableInterfaceModuleLoader : public SerializedModuleLoaderBase {
8080
CompilerInvocation &SubInvocation, StringRef InPath, StringRef OutPath);
8181

8282
static bool buildSwiftModuleFromSwiftInterface(
83-
clang::vfs::FileSystem &FS, DiagnosticEngine &Diags, SourceLoc DiagLoc,
83+
llvm::vfs::FileSystem &FS, DiagnosticEngine &Diags, SourceLoc DiagLoc,
8484
CompilerInvocation &SubInvocation, StringRef InPath, StringRef OutPath,
8585
StringRef ModuleCachePath, DependencyTracker *OuterTracker,
8686
bool ShouldSerializeDeps);

lib/Frontend/ParseableInterfaceSupport.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ extractSwiftInterfaceVersionAndArgs(DiagnosticEngine &Diags, SourceLoc DiagLoc,
8383
}
8484

8585
static std::unique_ptr<llvm::MemoryBuffer>
86-
getBufferOfDependency(clang::vfs::FileSystem &FS,
86+
getBufferOfDependency(llvm::vfs::FileSystem &FS,
8787
StringRef ModulePath, StringRef DepPath,
8888
DiagnosticEngine &Diags, SourceLoc DiagLoc) {
8989
auto DepBuf = FS.getBufferForFile(DepPath, /*FileSize=*/-1,
@@ -274,7 +274,7 @@ swiftModuleIsUpToDate(llvm::vfs::FileSystem &FS,
274274
/// out to avoid having to do recursive scanning when rechecking this
275275
/// dependency in the future.
276276
static bool
277-
collectDepsForSerialization(clang::vfs::FileSystem &FS,
277+
collectDepsForSerialization(llvm::vfs::FileSystem &FS,
278278
CompilerInstance &SubInstance,
279279
StringRef InPath, StringRef ModuleCachePath,
280280
SmallVectorImpl<FileDependency> &Deps,

0 commit comments

Comments
 (0)