mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
NOTE: 1. To test this I changed UnaryOp_match to use this under the hood. 2. These types of m_##ID##Inst matchers now will only accept compound types and I added a static assert to verify that this mistake doesn't happen. We previously had matchers that would take an int or the like to match tuple extract patterns. I converted those to use TupleExtractOperation that also properly handles destructures.
48 KiB
48 KiB