Files
swift-mirror/lib/Syntax/SyntaxArena.cpp
Alex Hoppen e5c8440fe4 [libSyntax] Make RawSyntaxCacheNode retain its underlying RawSyntax node
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.
2018-08-14 07:42:45 -07:00

5.1 KiB