mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Previously RawSyntaxCacheNode was not increasing the RawSyntax refCount and accessing a cached node would fail if the node had been deleted in the meantime. We weren't hitting this so far, because all nodes were allocated using a bump allocator and thus the underlying memory never freed.
5.1 KiB
5.1 KiB