[SourceKit] Fix compile error on Ubuntu 14

This commit is contained in:
Alex Hoppen
2018-08-01 10:30:16 -07:00
parent 293e8bd0bd
commit a38d7c525e

View File

@@ -1791,8 +1791,9 @@ void SwiftEditorDocument::readSyntaxInfo(EditorConsumer &Consumer) {
Impl.ParserDiagnostics = Impl.SyntaxInfo->getDiagnostics();
if (Consumer.syntaxTreeEnabled()) {
std::unordered_set<unsigned> ReusedNodeIds;
Consumer.handleSyntaxTree(Impl.SyntaxInfo->getSourceFile().getSyntaxRoot(),
/*ReusedNodeIds=*/{});
ReusedNodeIds);
}
SwiftSyntaxMap NewMap = SwiftSyntaxMap(Impl.SyntaxMap.Tokens.size() + 16);