Skip to content

AST/Sema: Remove unnecessary ASTContext parameters from availability APIs #77014

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 1 commit into from
Oct 15, 2024

Conversation

tshortli
Copy link
Contributor

Many of the methods on AvailabilityInference take both a Decl and an ASTContext, which is redundant.

…APIs.

Many of the methods on `AvailabilityInference` take both a `Decl` and an
`ASTContext`, which is redundant.
@tshortli tshortli force-pushed the context-free-availability branch from c43871b to 7819dd7 Compare October 15, 2024 00:59
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli enabled auto-merge October 15, 2024 04:39
@tshortli tshortli merged commit 8cb2f10 into swiftlang:main Oct 15, 2024
3 checks passed
@tshortli tshortli deleted the context-free-availability branch October 15, 2024 14:21
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