mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SourceKit] In interface-gen request, allow clients to send SourceKit an interested USR from which we can infer the group name.
This commit is contained in:
@@ -43,6 +43,9 @@ typedef OptionSet<ModuleTraversal> ModuleTraversalOptions;
|
||||
ArrayRef<StringRef> collectModuleGroups(ModuleDecl *M,
|
||||
std::vector<StringRef> &Scratch);
|
||||
|
||||
Optional<StringRef>
|
||||
findGroupNameForUSR(ModuleDecl *M, StringRef USR);
|
||||
|
||||
void printModuleInterface(ModuleDecl *M, Optional<StringRef> Group,
|
||||
ModuleTraversalOptions TraversalOptions,
|
||||
ASTPrinter &Printer, const PrintOptions &Options,
|
||||
|
||||
Reference in New Issue
Block a user