mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The utility provides a standard way for backwards traversing a region of a function constrained by a predicate (isInRegion) starting from some root blocks. It exposes a visit function for post-order and iterable collections for post-order and reverse post-order. Adding corresponding pre-order functionality will be straightforward.
8.5 KiB
8.5 KiB