We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2dcac4b + a38d7c5 commit 0d837c3Copy full SHA for 0d837c3
tools/SourceKit/lib/SwiftLang/SwiftEditor.cpp
@@ -1791,8 +1791,9 @@ void SwiftEditorDocument::readSyntaxInfo(EditorConsumer &Consumer) {
1791
Impl.ParserDiagnostics = Impl.SyntaxInfo->getDiagnostics();
1792
1793
if (Consumer.syntaxTreeEnabled()) {
1794
+ std::unordered_set<unsigned> ReusedNodeIds;
1795
Consumer.handleSyntaxTree(Impl.SyntaxInfo->getSourceFile().getSyntaxRoot(),
- /*ReusedNodeIds=*/{});
1796
+ ReusedNodeIds);
1797
}
1798
1799
SwiftSyntaxMap NewMap = SwiftSyntaxMap(Impl.SyntaxMap.Tokens.size() + 16);
0 commit comments