mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Instead, reference count the SyntaxData's parent. This has a couple of advantages: 1. We eliminate a const_cast that was potentially unsafe 2. It more closely resembles the architecture on the Swift side 3. It has the potential to be optimised further if the parent can be accessed in an unsafe, non-reference-counted way
5.4 KiB
5.4 KiB