mirror of
https://github.com/apple/swift.git
synced 2026-02-27 18:26:24 +01:00
Trivial enum cases in a memory location don't need to be destroyed. Don't require that the store to such a memory location is statically known as a trivial enum case. Instead just require that it's below a switch_enum successor for a trivial case. Fixes a false alarm. rdar://114274714