Skip to content

[cxx-interop] Import move only type support by default. #67187

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

Closed
wants to merge 5 commits into from

Conversation

zoecarver
Copy link
Contributor

Just enables importing them by default and adds a new test for std::unique_ptr.

Refs #65878 #65577

@zoecarver zoecarver requested review from hyp and egorzhdan as code owners July 8, 2023 00:51
@zoecarver
Copy link
Contributor Author

@swift-ci please smoke test

@kavon kavon self-requested a review July 8, 2023 03:18
// CHECK: struct StructWithSubobjectMoveConstructor

// CHECK: struct StructNonCopyableTriviallyMovable

Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please bring back the checks for StructWithPointerNonCopyableTriviallyMovable
and StructWithPointerNonCopyableTriviallyMovableField?

import StdUniquePtr
#if os(Linux)
import CxxStdlib
// FIXME: import CxxStdlib.string once libstdc++ is split into submodules.
Copy link
Contributor

Choose a reason for hiding this comment

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

We're not going to split libstdc++ into submodules, let's just import CxxStdlib

@hyp
Copy link
Contributor

hyp commented Nov 10, 2023

Let's close this in favor of an updated PR here: #69790 . I rebased your initial commits there.

@hyp hyp closed this Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants