mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ModulePrinting: Refactoring SynthesizedExtensionAnalyzer to better expose the merge groups of extensions. NFC
This commit is contained in:
@@ -464,11 +464,9 @@ void swift::ide::printSubmoduleInterface(
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
// Print synthesized extensions.
|
||||
SynthesizedExtensionAnalyzer Analyzer(NTD, AdjustedOptions);
|
||||
|
||||
Analyzer.forEachExtensionMergeGroup(
|
||||
SynthesizedExtensionAnalyzer::MergeGroupKind::All,
|
||||
[&](ArrayRef<ExtensionAndIsSynthesized> Decls){
|
||||
for (auto ET : Decls) {
|
||||
AdjustedOptions.shouldOpenExtension =
|
||||
|
||||
Reference in New Issue
Block a user