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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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 a review from beccadax May 15, 2025 16:20
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.

1 participant