mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[libSyntax] Fix compiler error (#18243)
Another instance of 7ad81a88b9.
This commit is contained in:
@@ -701,7 +701,7 @@ int doSerializeRawTree(const char *MainExecutablePath,
|
||||
[](SourceFile *SF, SyntaxParsingCache *SyntaxCache) -> int {
|
||||
auto SerializeTree = [](llvm::raw_ostream &os, RC<RawSyntax> Root,
|
||||
SyntaxParsingCache *SyntaxCache) {
|
||||
std::unordered_set<unsigned> ReusedNodeIds = {};
|
||||
std::unordered_set<unsigned> ReusedNodeIds;
|
||||
if (options::IncrementalSerialization && SyntaxCache) {
|
||||
ReusedNodeIds = SyntaxCache->getReusedNodeIds();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user