-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[cxx-interop] windows methods fixes #67268
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
@swift-ci please test |
@swift-ci please test windows platform |
10 similar comments
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
…f methods Fixes swiftlang#66326 This allows us to reneable Windows method tests. Note that Windows still has a broken convention for non-trivial record with non-trivial destructor but trivial copy-constructor, so classes in the methods.swift test need an explicit copy constructor. Fixes rdar://88391102
b6fff32
to
c09135b
Compare
@swift-ci please test |
@swift-ci please test windows platform |
9 similar comments
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test linux platform |
@swift-ci please test windows platform |
…loadable C++ types as unavailable Windows logic for determining address-only type layout for a C++ type is now unified with other platforms. However, this means that on Windows, a C++ type with a custom destructor, but a default copy constructor is now loadable, even though it's non-trivial. Since Swift does not support such type operations at the moment (it can't be yet destroyed), mark such type as unavailable in Swift instead, when building for the Windows target. This fixes the Windows miscompilation related to such types when they were passed indirectly to C++ functions even though they're actually passed directly.
34bd560
to
96806f4
Compare
@swift-ci please test |
@swift-ci please test source compatibility |
No description provided.