Skip to content

AST/Sema: Parse custom availability domains #78993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 29, 2025

Conversation

tshortli
Copy link
Contributor

@tshortli tshortli commented Jan 28, 2025

Introduce the CustomAvailability experimental feature and some frontend options that can be used to define custom availability domains. Also, tweak the parser to allow attributes like @available(SomeDomain). A future PR will wire up the custom availability domain definitions so that availability checking can use them.

Resolves rdar://138441297.

@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli marked this pull request as ready for review January 29, 2025 00:32
@tshortli tshortli merged commit aa0e3dc into swiftlang:main Jan 29, 2025
3 checks passed
@tshortli tshortli deleted the parse-custom-availability-domains branch January 29, 2025 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant