mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
Merge pull request #87662 from xymus/internal-bridging-header-and-swiftinterface
ModuleInterface: Don't print imports for any bridging header
This commit is contained in:
@@ -330,7 +330,8 @@ static void printImports(raw_ostream &out,
|
||||
|
||||
for (auto import : allImports) {
|
||||
auto importedModule = import.importedModule;
|
||||
if (importedModule->isOnoneSupportModule()) {
|
||||
if (importedModule->isOnoneSupportModule() ||
|
||||
importedModule->isClangHeaderImportModule()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user