mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Previously, 'IntroducerLoc' and 'ThePattern' were only used for pattern binidng cases. Create a new 'ConditionalPatternBindingInfo' type to cover such cases, and make 'StmtConditionElement' a pure 'PointerUnion' type. This makes it clear which fields are used in which condition kind. Also, we can expect overall size reduction of StmtCondition when the majority of the conditions are simple boolean expressions.
14 KiB
14 KiB