mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Do not attempt to parse the PlaceholderSwiftModule map when not present
This commit is contained in:
@@ -131,7 +131,9 @@ public:
|
||||
|
||||
// FIXME: Find a better place for this map to live, to avoid
|
||||
// doing the parsing on every module.
|
||||
parsePlaceholderModuleMap(PlaceholderDependencyModuleMap);
|
||||
if (!PlaceholderDependencyModuleMap.empty()) {
|
||||
parsePlaceholderModuleMap(PlaceholderDependencyModuleMap);
|
||||
}
|
||||
}
|
||||
|
||||
std::error_code findModuleFilesInDirectory(
|
||||
|
||||
Reference in New Issue
Block a user