mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ModulePrinter: Print decls from the same source file near each other.
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