mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The use of `SWIFT_DEFER` previously meant that we may return `false` from `performCompile` even if an error was produced from `performEndOfPipelineActions`. To remedy this, introduce a lambda that both calls `performEndOfPipelineActions`, and checks to see if there was an error. Then, enforce that all exit paths call this lambda.
86 KiB
86 KiB