Skip to content

AST: Rework UnavailableDeclOptimizationMode language option #71141

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
Jan 25, 2024

Conversation

tshortli
Copy link
Contributor

Instead of providing a default value for UnavailableDeclOptimizationMode, track it with an optional that defaults to None. This way the default behavior can vary contextually while still honoring an explicit option passed in on the command line.

Partially resolves rdar://121344690

Instead of providing a default value for `UnavailableDeclOptimizationMode`,
track it with an optional that defaults to `None`. This way the default
behavior can vary contextually while still honoring an explicit option passed
in on the command line.

Partially resolves rdar://121344690
@tshortli tshortli force-pushed the unavailable-decl-opt-default branch from 6b47894 to 95175fb Compare January 25, 2024 06:19
@tshortli
Copy link
Contributor Author

swiftlang/llvm-project#8041

@swift-ci please smoke test

@tshortli tshortli enabled auto-merge January 25, 2024 06:26
@tshortli tshortli merged commit 0e2fcbd into swiftlang:main Jan 25, 2024
@tshortli tshortli deleted the unavailable-decl-opt-default branch January 25, 2024 16:33
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