Skip to content

Revert "rebranch: temporarily disable deprecation warnings for Optional in swift sources" #6988

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

Conversation

etcwilde
Copy link
Member

This reverts commit 4d1b0b4.

The next rebranch will see the replacement of all llvm::Optional APIs with std::optional. As such, we actually want deprecation warnings to show up if folks are trying to use the llvm::Optional APIs.

…nal` in swift sources"

This reverts commit 4d1b0b4.

The next rebranch will see the replacement of all llvm::Optional APIs
with std::optional. As such, we actually want deprecation warnings to
show up if folks are trying to use the `llvm::Optional` APIs.
@etcwilde etcwilde requested review from bnbarham and eeckstein June 14, 2023 20:39
@etcwilde
Copy link
Member Author

@swift-ci please test

Copy link

@bnbarham bnbarham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for removing this @etcwilde! It was added to aid in rebranching, but we should have removed it after we migrated everything. There's now a few new uses that should have not existed :(

@etcwilde etcwilde merged commit 441b41f into swiftlang:stable/20221013 Jun 15, 2023
@etcwilde etcwilde deleted the ewilde/revert-removal-of-deprecation-warning branch June 15, 2023 23:24
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.

2 participants