Skip to content

Conversation

@hyp
Copy link
Contributor

@hyp hyp commented May 6, 2023

[interop][SwiftToCxx] emit unavailable type stubs for top level types that could not be emitted in the C++ section of the generated header

[interop][SwiftToCxx] avoid emitting ambiguous C++ overloads
Just do an arity check for now

[interop][SwiftToCxx] do not expose move-only Swift types

hyp added 2 commits May 5, 2023 17:03
@hyp hyp added the c++ interop Feature: Interoperability with C++ label May 6, 2023
@hyp hyp requested a review from ravikandhadai May 6, 2023 00:04
@hyp hyp removed request for hborla, slavapestov and xedin May 6, 2023 00:04
@hyp
Copy link
Contributor Author

hyp commented May 6, 2023

Needed follow ups:

  • unavailable stubs for nested members.
  • unavailable stub for functions.
    Will file issues for those.

@hyp
Copy link
Contributor Author

hyp commented May 6, 2023

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented May 6, 2023

@swift-ci please test source compatibility

@hyp hyp force-pushed the eng/safe-overloads-and-unavailable-unemitted-decls-in-cxx branch from 884909f to c7836e3 Compare May 6, 2023 00:07
@hyp
Copy link
Contributor Author

hyp commented May 6, 2023

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented May 6, 2023

@swift-ci please test source compatibility

@hyp
Copy link
Contributor Author

hyp commented May 6, 2023

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented May 6, 2023

@swift-ci please test source compatibility

@hyp hyp force-pushed the eng/safe-overloads-and-unavailable-unemitted-decls-in-cxx branch from c9c69fc to 4010357 Compare May 6, 2023 13:56
@hyp
Copy link
Contributor Author

hyp commented May 6, 2023

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented May 6, 2023

@swift-ci please test source compatibility

Swift's consume semantics are not yet supported in C++
@hyp
Copy link
Contributor Author

hyp commented May 6, 2023

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented May 6, 2023

@swift-ci please test source compatibility

@hyp
Copy link
Contributor Author

hyp commented May 6, 2023

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented May 6, 2023

@swift-ci please test source compatibility

Copy link
Contributor

@zoecarver zoecarver left a comment

Choose a reason for hiding this comment

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

Not a super in depth review, but this look great to me! Super excited to see these UX improvements :)

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++

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants