Skip to content

[5.9][cxx-interop] add a testcase to verify that 'borrowing' works with co… #66693

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
Jun 16, 2023

Conversation

hyp
Copy link
Contributor

@hyp hyp commented Jun 16, 2023

…pyable C++ types

This lets us verify that our suggested pattern for calling unsafe functions is working as intended in Swift

This also lets us verify that we can still pass borrowed C++ types to C++ functions that take in a const ref parameter

Tests now fixed #61454

(cherry picked from commit da8c52c)

…pyable C++ types

This lets us verify that our suggested pattern for calling unsafe functions is working as intended in Swift

This also lets us verify that we can still pass borrowed C++ types to C++ functions that take in a const ref parameter

Tests now fixed swiftlang#61454

(cherry picked from commit da8c52c)
@hyp hyp added c++ interop Feature: Interoperability with C++ swift 5.9 labels Jun 16, 2023
@hyp hyp requested a review from a team as a code owner June 16, 2023 01:31
@hyp
Copy link
Contributor Author

hyp commented Jun 16, 2023

@swift-ci please smoke test

@hyp
Copy link
Contributor Author

hyp commented Jun 16, 2023

@swift-ci please test

@hyp hyp merged commit 24cee41 into swiftlang:release/5.9 Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++ swift 5.9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants