[Dependency Scanning] Add import statement source locations to the dependency scanner cache serialization format

This commit is contained in:
Artem Chikin
2024-12-05 10:41:30 -08:00
parent 8399267785
commit 25d32fc7a3
5 changed files with 577 additions and 307 deletions

View File

@@ -246,8 +246,8 @@ SwiftModuleScanner::scanInterfaceFile(Twine moduleInterfacePath,
Result = ModuleDependencyInfo::forSwiftInterfaceModule(
outputPathBase.str().str(), InPath, compiledCandidatesRefs,
ArgsRefs, linkLibraries, PCMArgs, Hash, isFramework, isStatic, {},
/*module-cache-key*/ "", UserModVer);
ArgsRefs, {}, {}, linkLibraries, PCMArgs, Hash, isFramework,
isStatic, {}, /*module-cache-key*/ "", UserModVer);
if (Ctx.CASOpts.EnableCaching) {
std::vector<std::string> clangDependencyFiles;