Address code review: adding a test for -experimental-clang-importer-direct-cc1-scan and renaming a function.

This commit is contained in:
Qiongsi Wu
2025-02-13 14:02:53 -08:00
parent b7b27955bd
commit 23e863dc7a
4 changed files with 24 additions and 11 deletions

View File

@@ -2010,7 +2010,7 @@ InterfaceSubContextDelegateImpl::InterfaceSubContextDelegateImpl(
void InterfaceSubContextDelegateImpl::getCachedOutputPath(
SwiftInterfaceModuleOutputPathResolution::ResultTy &resolvedOutputPath,
StringRef moduleName, StringRef interfacePath, StringRef sdkPath) {
SwiftInterfaceModuleOutputPathResolution::getOutputPath(
SwiftInterfaceModuleOutputPathResolution::setOutputPath(
resolvedOutputPath, moduleName, interfacePath, sdkPath,
genericSubInvocation,
genericSubInvocation.getClangImporterOptions()
@@ -2831,7 +2831,7 @@ static std::string getContextHash(const CompilerInvocation &CI,
return llvm::toString(llvm::APInt(64, H), 36, /*Signed=*/false);
}
void getOutputPath(ResultTy &resolvedOutputPath, const StringRef &moduleName,
void setOutputPath(ResultTy &resolvedOutputPath, const StringRef &moduleName,
const StringRef &interfacePath, const StringRef &sdkPath,
const CompilerInvocation &CI, const ArgListTy &extraArgs) {
auto &outputPath = resolvedOutputPath.outputPath;