Skip to content

[Swiftify][ClangImporter] Import noescape attribute for parameters #78713

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 2 commits into from
Jan 27, 2025

Conversation

hnrklssn
Copy link
Contributor

This passes along the noescape attribute to @_SwiftifyImport as .noescape(pointer: .param(X)). This allows importing parameters as Span, MutableSpan and RawSpan.

@hnrklssn
Copy link
Contributor Author

@swift-ci please test

1 similar comment
@hnrklssn
Copy link
Contributor Author

@swift-ci please test

@Xazax-hun
Copy link
Contributor

@swift-ci please smoke test

@hnrklssn
Copy link
Contributor Author

@swift-ci please smoke test

@hnrklssn hnrklssn force-pushed the swiftify-clangimport-noescape branch from b78747e to b986ed2 Compare January 23, 2025 23:31
@hnrklssn
Copy link
Contributor Author

@swift-ci please smoke test

1 similar comment
@hnrklssn
Copy link
Contributor Author

@swift-ci please smoke test

@hnrklssn
Copy link
Contributor Author

@swift-ci please smoke test macos

This passes along the noescape attribute to @_SwiftifyImport as
.noescape(pointer: .param(X)). This allows importing parameters as Span,
MutableSpan and RawSpan.
@hnrklssn hnrklssn force-pushed the swiftify-clangimport-noescape branch from b986ed2 to 80b7c76 Compare January 25, 2025 02:00
@hnrklssn
Copy link
Contributor Author

@swift-ci please smoke test

@hnrklssn hnrklssn merged commit fdea6ba into swiftlang:main Jan 27, 2025
3 checks passed
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.

2 participants