mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge remote-tracking branch 'origin' into import-as-member
This commit is contained in:
@@ -206,6 +206,16 @@ static ClangNode extensionGetClangNode(ExtensionDecl *ext) {
|
||||
return members.front()->getClangNode();
|
||||
}
|
||||
|
||||
Optional<StringRef>
|
||||
swift::ide::findGroupNameForUSR(ModuleDecl *M, StringRef USR) {
|
||||
for (auto File : M->getFiles()) {
|
||||
if (auto Name = File->getGroupNameByUSR(USR)) {
|
||||
return Name;
|
||||
}
|
||||
}
|
||||
return None;
|
||||
}
|
||||
|
||||
void swift::ide::printSubmoduleInterface(
|
||||
Module *M,
|
||||
ArrayRef<StringRef> FullModuleName,
|
||||
|
||||
Reference in New Issue
Block a user