mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I earlier overhauled the enum layout logic to correctly consider enums with generic cases and cases that have zero size. This updates the enum projection logic to use that information as well. In particular, this fixes a bug where an MPE with zero-sized cases would be incorrectly projected by RemoteMirror (with consequences for the `leaks` tool and lldb). Resolves rdar://111705059