[Serialization] Serialize and deserialize source order in module doc files.

This commit is contained in:
Xi Ge
2016-02-10 16:30:54 -08:00
parent 932e1c3103
commit 98734f588a
9 changed files with 56 additions and 14 deletions

View File

@@ -614,11 +614,12 @@ public:
virtual void finishNormalConformance(NormalProtocolConformance *conformance,
uint64_t contextData) override;
Optional<StringRef> getGroupNameById(unsigned Id);
Optional<StringRef> getGroupNameForDecl(const Decl *D);
void collectAllGroups(std::vector<StringRef> &Names);
Optional<BriefAndRawComment> getCommentForDecl(const Decl *D);
Optional<BriefAndRawComment> getCommentForDeclByUSR(StringRef USR);
Optional<StringRef> getGroupNameById(unsigned Id) const;
Optional<StringRef> getGroupNameForDecl(const Decl *D) const;
Optional<unsigned> getSourceOrderForDecl(const Decl *D) const;
void collectAllGroups(std::vector<StringRef> &Names) const;
Optional<BriefAndRawComment> getCommentForDecl(const Decl *D) const;
Optional<BriefAndRawComment> getCommentForDeclByUSR(StringRef USR) const;
Identifier getDiscriminatorForPrivateValue(const ValueDecl *D);