mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
ModulePrinter: Print decls from the same source file near each other.
This commit is contained in:
@@ -618,7 +618,10 @@ public:
|
||||
uint64_t contextData) override;
|
||||
|
||||
Optional<StringRef> getGroupNameById(unsigned Id) const;
|
||||
Optional<StringRef> getSourceFileNameById(unsigned Id) const;
|
||||
Optional<StringRef> getGroupNameForDecl(const Decl *D) const;
|
||||
Optional<StringRef> getSourceFileNameForDecl(const Decl *D) const;
|
||||
|
||||
void collectAllGroups(std::vector<StringRef> &Names) const;
|
||||
Optional<CommentInfo> getCommentForDecl(const Decl *D) const;
|
||||
Optional<CommentInfo> getCommentForDeclByUSR(StringRef USR) const;
|
||||
|
||||
Reference in New Issue
Block a user