mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SourceKit] Avoid synthesizing extensions if group names are not given. rdar://26198267
This commit is contained in:
@@ -323,7 +323,8 @@ static bool getModuleInterfaceInfo(ASTContext &Ctx,
|
||||
printSubmoduleInterface(Mod, SplitModuleName,
|
||||
Group.hasValue() ? llvm::makeArrayRef(Group.getValue()) : ArrayRef<StringRef>(),
|
||||
TraversalOptions,
|
||||
Printer, Options, SynthesizedExtensions);
|
||||
Printer, Options,
|
||||
Group.hasValue() && SynthesizedExtensions);
|
||||
|
||||
Info.Text = OS.str();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user