mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
It's against the principles of pass design to check the driver mode within the pass. A pass always needs to do the same thing regardless of where it runs in the pass pipeline. It also needs to be possible to test passes in isolation.