Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[ClangImporter] Import 'swift_attr("sending")' As a Type Attribute #81359

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
May 8, 2025

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented May 7, 2025

Previously, __attribute__((swift_attr("sending"))) would only be resolved when attached to declarations. This patch expands it to be a type attribute as well, which enables it to occur in the result and parameter positions for blocks, function pointers, and lambdas.

Resolves rdar://148435359

Previously, `__attribute__((swift_attr("sending")))` would only be
resolved when attached to declarations. This patch expands it to be
a type attribute as well, which enables it to occur in the result and
parameter positions for blocks, function pointers, and lambdas.

Resolves rdar://148435359
@CodaFi CodaFi force-pushed the sending-type-beat branch from 5aa2e20 to edcde7c Compare May 7, 2025 17:19
@CodaFi
Copy link
Contributor Author

CodaFi commented May 7, 2025

@swift-ci smoke test

@CodaFi
Copy link
Contributor Author

CodaFi commented May 8, 2025

@CodaFi CodaFi merged commit 7c5a59f into swiftlang:main May 8, 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