Skip to content

Sema: Update more diagnostics for @cdecl and representability in the C language #81519

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

Conversation

xymus
Copy link
Contributor

@xymus xymus commented May 14, 2025

Update more diagnostics shared by @objc and @cdecl to correctly mention C over Objective-C when appropriate. Also introduce more general diagnostics about classes and protocols being unrepresentable in C.

Diagnostics about uses of enums from C aren't updated yet. They will be part of the work on @cdecl enums.

@xymus
Copy link
Contributor Author

xymus commented May 14, 2025

@swift-ci Please smoke test

@xymus xymus requested review from beccadax and artemcm May 15, 2025 16:20
@xymus
Copy link
Contributor Author

xymus commented May 29, 2025

@swift-ci Please smoke test

@xymus xymus merged commit 7d6447b into swiftlang:main May 29, 2025
3 checks passed
@xymus xymus deleted the cdecl-diags branch May 29, 2025 20:37
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