mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rather than representing a missing availability range on `PoundAvailableInfo` with a default-constructed `AvailabilityRange` (empty), store the ranges as optionals instead. This allows an empty range to represent an availability condition which is known to be false at compile time, which will be necessary when generating SIL for `if #available` queries that check custom availability domains.
61 KiB
61 KiB