mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Since we short-circuit in the function builder application when we hit something we cannot translate, relying on that visitor to detect 'return' statements (which disable the application) is bogus. Use a separate, earlier visitor to find 'return' statements consistently. Fixes rdar://problem/50266341.
112 KiB
112 KiB