Allan Shortlidge
31fa5fc347
Sema: Replace UnavailabilityDiagnosticInfo with AvailabilityConstraint.
...
AvailabilityConstraint models a superset of UnavailabilityDiagnosticInfo and
will become the currency type for unsatisfied availability everywhere. NFC.
2025-01-21 08:51:29 -08:00
Allan Shortlidge
6e1f0ae1c8
AST: Use PointerIntPair in AvailabilityConstraint.
...
Now that SemanticAvailableAttr is pointer-like, AvailabilityConstraint can be
pointer sized too.
NFC.
2025-01-20 18:24:04 -08:00
Allan Shortlidge
f1d0885458
AST: Adopt SemanticAvailableAttr in AvailabilityConstraint.
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
Allan Shortlidge
b3f6421091
AST: Remove DeclAttributes::getPotentiallyUnavailable().
...
This utility duplicated logic that is now meant to be encapsulated by
`getUnsatisfiedAvailabilityConstraint()`.
2024-11-19 17:19:51 -08:00
Allan Shortlidge
4fa02cd11a
AST: Rename UnmetAvailabilityRequirement to AvailabilityConstraint.
...
Also, pull its definition out into a separate header.
2024-11-04 19:58:28 -08:00