Remove Clang CASFS (#86973)

This commit is contained in:
Hiroshi Yamauchi
2026-02-05 19:32:08 -08:00
committed by GitHub
parent 68f615a37c
commit 36be4d294e
10 changed files with 12 additions and 49 deletions

View File

@@ -2170,11 +2170,6 @@ ModuleDependencyInfo ModuleDependencyScanner::bridgeClangModuleDependency(
auto clangArgs = invocation.getCC1CommandLine();
llvm::for_each(clangArgs, addClangArg);
// CASFileSystemRootID.
std::string RootID = clangModuleDep.CASFileSystemRootID
? clangModuleDep.CASFileSystemRootID.value()
: "";
std::string IncludeTree =
clangModuleDep.IncludeTreeID ? *clangModuleDep.IncludeTreeID : "";
@@ -2198,7 +2193,7 @@ ModuleDependencyInfo ModuleDependencyScanner::bridgeClangModuleDependency(
llvm::StringSet<> alreadyAddedModules;
auto bridgedDependencyInfo = ModuleDependencyInfo::forClangModule(
pcmPath, mappedPCMPath, clangModuleDep.ClangModuleMapFile,
clangModuleDep.ID.ContextHash, swiftArgs, fileDeps, LinkLibraries, RootID,
clangModuleDep.ID.ContextHash, swiftArgs, fileDeps, LinkLibraries,
IncludeTree, /*module-cache-key*/ "", clangModuleDep.IsSystem);
std::vector<ModuleDependencyID> directDependencyIDs;