You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parse/Sema: Move #available query wildcard diagnostics to Sema.
In order to unblock resolution of availability domains during type-checking
instead of parsing, diagnostics about missing or superfluous wildcards in
availability specification lists need to move to Sema.
@@ -165,13 +165,14 @@ class DeclAttribute : public AttributeBase {
165
165
/// Whether this attribute was spelled `@_spi_available`.
166
166
IsSPI : 1,
167
167
168
-
/// Whether this attribute is an interior attribute of a group of
169
-
/// `@available` attributes that were written in source using short form
170
-
/// syntax (`@available(macOS 15, ...)`).
171
-
IsFollowedByGroupedAvailableAttr : 1,
168
+
/// Whether this attribute belongs to a chain of adjacent `@available` attributes that were generated from a single attribute written in source using short form syntax e.g. (`@available(macOS 15, iOS 18, *)`).
169
+
IsGroupMember : 1,
172
170
173
-
/// Whether this attribute was followed by `, *` when parsed from source.
174
-
IsFollowedByWildcard : 1
171
+
/// Whether this attribute is the final one in its group.
172
+
IsGroupTerminator : 1,
173
+
174
+
/// Whether this attribute's specification was followed by `, *` in source.
0 commit comments