Skip to content

[cxx-interop] Handle vector types in escapability analysis #83542

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

Merged
merged 1 commit into from
Aug 7, 2025

Conversation

Xazax-hun
Copy link
Contributor

Whenever we have a vector type, the escpability depends on the escapability of the element type. This will enable us to consider more types like std::vectorsimd::float3 as safe by default.

rdar://157141552

Whenever we have a vector type, the escpability depends on the
escapability of the element type. This will enable us to consider more
types like std::vector<simd::float3> as safe by default.

rdar://157141552
@Xazax-hun Xazax-hun requested a review from zoecarver as a code owner August 5, 2025 13:58
@Xazax-hun Xazax-hun added the c++ interop Feature: Interoperability with C++ label Aug 5, 2025
@Xazax-hun
Copy link
Contributor Author

@swift-ci please smoke test

@Xazax-hun Xazax-hun merged commit 91b4fab into swiftlang:main Aug 7, 2025
3 checks passed
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