-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[cxx-interop] Use a synthesized C++ method when invoking a base metho… #68846
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
[cxx-interop] Use a synthesized C++ method when invoking a base metho… #68846
Conversation
@swift-ci please test |
Still also should do that for field accessors. |
@swift-ci please test linux platform |
…d from a derived class synthesized method The use of a synthesized C++ method allows us to avoid making a copy of self when invoking the base method from Swift
7383886
to
82f8d5d
Compare
@swift-ci please 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.
Awesome! 👍
@swift-ci please test |
14814d7
to
0851fa2
Compare
@swift-ci please test |
0851fa2
to
dda039d
Compare
@swift-ci please test |
…d or subscript from a derived class synthesized method The use of a synthesized C++ method allows us to avoid making a copy of self when accessing the base field or subscript from Swift
…t a retainable FRT value This matches the semantics of accessing the same field from the base class
dda039d
to
f7ce9aa
Compare
@swift-ci please test |
@swift-ci please test source compatibility |
It looks like this pull introduced 5 IRGen tests that assume a 64-bit platform, causing them to fail on Android armv7:
@natecook1000, do these tests also fail on 32-bit watchOS, presuming that's still being tested by some CI? |
Fixing it. |
Patch up: #69283 |
rdar://117205273
…d from a derived class synthesized method
The use of a synthesized C++ method allows us to avoid making a copy of self when invoking the base method from Swift