-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[cxx-interop] Prevent usage in Swift of C++ move constructor with default args #79542
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
89cdb01
to
5a10959
Compare
@swift-ci please smoke test |
5a10959
to
b6c1ebb
Compare
@swift-ci please smoke test |
b30c0c6
to
73713d8
Compare
@swift-ci please smoke test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Just a couple of minor comments.
73713d8
to
8a1e620
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes LGTM other than a refactoring change.
Just to double check, when you say "make them unavailable" are you talking about not importing them, or importing them with an @available()
attribute marking them as always unavailable? If the former, can you clarify that in your commit messages?
First option! I will make it more clear, thanks |
8a1e620
to
0b83c84
Compare
@swift-ci please smoke test |
0b83c84
to
d79df87
Compare
@swift-ci please smoke test |
d79df87
to
dce2af0
Compare
@swift-ci please smoke test |
dce2af0
to
51357a9
Compare
@swift-ci please smoke test |
While support for C++ move constructors with default args in Swift isn't added, we don't import these move constructors to Swift.