Allan Shortlidge
9edd9eed9e
AST: Finish adopting SemanticAvailableAttr in AvailabilityInference utilities.
2025-01-08 08:17:27 -08:00
Allan Shortlidge
dcfe563294
AST: Remove AvailabilityInference::availableRangeAndAttr()
2025-01-07 07:31:13 -08:00
Allan Shortlidge
efa1afff11
AST: Introduce SemanticAvailableAttr::getIntroducedRange().
...
It replaces the overload of AvailabilityInference::availableRange() that takes
an AvailableAttr.
2025-01-07 07:31:12 -08:00
Allan Shortlidge
4ed62e3154
AST: Introduce Decl::getAvailableAttrForPlatformIntroduction().
...
It replaces `AvailabilityInference::attrForAnnotatedAvailableRange()`.
2025-01-07 07:31:12 -08:00
Allan Shortlidge
d0f63a0753
AST: Split Availability.h into multiple headers.
...
Put AvailabilityRange into its own header with very few dependencies so that it
can be included freely in other headers that need to use it as a complete type.
NFC.
2025-01-03 18:36:04 -08:00