mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Module interface printing: add an option to skip the Swift overlay.
This is a debugging aid, not a general feature, hence the lack of testing or actual, correct semantics. Swift SVN r15886
This commit is contained in:
@@ -229,7 +229,10 @@ void swift::ide::printSubmoduleInterface(
|
||||
}
|
||||
}
|
||||
|
||||
for (auto *D : SwiftDecls)
|
||||
PrintDecl(D);
|
||||
if (!(TraversalOptions & ModuleTraversal::SkipOverlay) ||
|
||||
!InterestingClangModule) {
|
||||
for (auto *D : SwiftDecls)
|
||||
PrintDecl(D);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user