[Serialization] Avoid serializing source orders, trust deserialized decls in preserving such order. rdar://24610992

Thank Jordan for suggesting this.
This commit is contained in:
Xi Ge
2016-02-11 11:57:03 -08:00
parent 9da87ef3aa
commit 9aa3d01101
10 changed files with 20 additions and 63 deletions

View File

@@ -140,8 +140,6 @@ public:
Optional<StringRef> getGroupNameForDecl(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;