Revert "[ScanDependency] Allow importing binary testable module when no interface"

This reverts commit 90a1586c3c.
This commit is contained in:
Steven Wu
2024-04-17 12:43:06 -07:00
parent bc4eeb861c
commit 53ad5de6db
4 changed files with 9 additions and 17 deletions

View File

@@ -163,10 +163,8 @@ protected:
}
/// Scan the given serialized module file to determine dependencies.
llvm::ErrorOr<ModuleDependencyInfo> scanModuleFile(Twine modulePath,
bool isFramework,
bool isTestableImport,
bool hasInterface);
llvm::ErrorOr<ModuleDependencyInfo>
scanModuleFile(Twine modulePath, bool isFramework, bool isTestableImport);
struct BinaryModuleImports {
llvm::StringSet<> moduleImports;