mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Re-apply "ModulePrinter: Print decls from the same source file near each other."
This reverts commit 1db83907e3.
This commit is contained in:
@@ -495,6 +495,11 @@ SerializedASTFile::getGroupNameForDecl(const Decl *D) const {
|
||||
return File.getGroupNameForDecl(D);
|
||||
}
|
||||
|
||||
Optional<StringRef>
|
||||
SerializedASTFile::getSourceFileNameForDecl(const Decl *D) const {
|
||||
return File.getSourceFileNameForDecl(D);
|
||||
}
|
||||
|
||||
void
|
||||
SerializedASTFile::collectAllGroups(std::vector<StringRef> &Names) const {
|
||||
File.collectAllGroups(Names);
|
||||
|
||||
Reference in New Issue
Block a user