mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Serialization] Avoid serializing source orders, trust deserialized decls in preserving such order. rdar://24610992
Thank Jordan for suggesting this.
This commit is contained in:
@@ -494,11 +494,6 @@ SerializedASTFile::getGroupNameForDecl(const Decl *D) const {
|
||||
return File.getGroupNameForDecl(D);
|
||||
}
|
||||
|
||||
Optional<unsigned>
|
||||
SerializedASTFile::getSourceOrderForDecl(const Decl *D) const {
|
||||
return File.getSourceOrderForDecl(D);
|
||||
}
|
||||
|
||||
void
|
||||
SerializedASTFile::collectAllGroups(std::vector<StringRef> &Names) const {
|
||||
File.collectAllGroups(Names);
|
||||
|
||||
Reference in New Issue
Block a user