Frontend: remove -swift-module-file. NFC

We are now using a JSON file for explicit module inputs, so this argument can be removed.
This commit is contained in:
Xi Ge
2021-07-30 15:22:30 -07:00
parent d747ee97c1
commit 3fd5cd1fe4
7 changed files with 0 additions and 44 deletions

View File

@@ -86,9 +86,6 @@ std::error_code PlaceholderSwiftModuleScanner::findModuleFilesInDirectory(
return std::make_error_code(std::errc::not_supported);
}
auto &moduleInfo = it->getValue();
assert(!moduleInfo.moduleBuffer &&
"Placeholder dependency module stubs cannot have an associated buffer");
auto dependencies = ModuleDependencies::forPlaceholderSwiftModuleStub(
moduleInfo.modulePath, moduleInfo.moduleDocPath,
moduleInfo.moduleSourceInfoPath);