Closed rintaro closed 6 days ago
@swift-ci Please test
@swift-ci Please test macOS
@swift-ci Please test
@swift-ci Please test Windows
https://github.com/swiftlang/swift/pull/76360 @swift-ci Please test
https://github.com/swiftlang/swift/pull/76360 @swift-ci Please test Windows
Accessing
Syntax.parent
requires retain/release traffic. Especially when traversing ancestors to the root, that ARC traffic is not negligible.Introduce
UnownedSyntax
that provides a way to access the parents temporarily without causing ARC traffics.