-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[interop][SwiftToCxx] avoid emitting ambiguous C++ overloads and emit unavailable type stubs for top level types that could not be emitted in the C++ section of the generated header #65728
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
[interop][SwiftToCxx] avoid emitting ambiguous C++ overloads and emit unavailable type stubs for top level types that could not be emitted in the C++ section of the generated header #65728
Conversation
… that could not be emitted in the C++ section of the generated header
Needed follow ups:
|
@swift-ci please test |
@swift-ci please test source compatibility |
Just do an arity check for now
884909f
to
c7836e3
Compare
@swift-ci please test |
@swift-ci please test source compatibility |
@swift-ci please test |
@swift-ci please test source compatibility |
…xx.swift test on Linux and Windows
c9c69fc
to
4010357
Compare
@swift-ci please test |
@swift-ci please test source compatibility |
Swift's consume semantics are not yet supported in C++
@swift-ci please test |
@swift-ci please test source compatibility |
…ate decls only emit them for public ones
@swift-ci please test |
@swift-ci please test source compatibility |
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.
Not a super in depth review, but this look great to me! Super excited to see these UX improvements :)
[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