mirror of
https://github.com/apple/swift.git
synced 2026-03-04 18:24:35 +01:00
Rather than depending on the tracking of state in switch cases to remember the case statements that are the source and destination for a `fallthrough` statement, compute them using ASTScope to find the nearest enclosing case (the source) and then find the next case in the same `switch` statement (the destination).
9.8 KiB
9.8 KiB