mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Serialization] Serialize the source order of Decls appearing in their original source file.
We used to think the source order is preserved after de-serialization; however, this seems to be not the case.
This commit is contained in:
@@ -140,8 +140,11 @@ public:
|
||||
|
||||
Optional<StringRef> getGroupNameForDecl(const Decl *D) const override;
|
||||
|
||||
|
||||
Optional<StringRef> getSourceFileNameForDecl(const Decl *D) const override;
|
||||
|
||||
Optional<unsigned> getSourceOrderForDecl(const Decl *D) const override;
|
||||
|
||||
void collectAllGroups(std::vector<StringRef> &Names) const override;
|
||||
|
||||
virtual void getTopLevelDecls(SmallVectorImpl<Decl*> &results) const override;
|
||||
|
||||
Reference in New Issue
Block a user