Skip to content

Conversation

@xymus
Copy link
Contributor

@xymus xymus commented Sep 24, 2025

Reject @c attributes using strings, in the style of @c("customName"), and accept only @c(customName) and the bare @c. Update all tests along with it.

@xymus
Copy link
Contributor Author

xymus commented Sep 24, 2025

@swift-ci Please smoke test

@xymus
Copy link
Contributor Author

xymus commented Sep 26, 2025

@swift-ci Please smoke test Windows

@xymus xymus force-pushed the c-identifier-only branch from 51dcba6 to 32fead1 Compare October 3, 2025 17:03
@xymus
Copy link
Contributor Author

xymus commented Oct 3, 2025

@swift-ci Please smoke test

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

xymus added 2 commits October 24, 2025 11:55
Reject `@c` attributes in the format of `@c("customName")` to accept
only `@c(customName)` and of course the bare `@c`.
@xymus xymus force-pushed the c-identifier-only branch from 32fead1 to 7ec1d36 Compare October 24, 2025 20:12
@xymus
Copy link
Contributor Author

xymus commented Oct 24, 2025

@swift-ci Please smoke test

@xymus xymus merged commit 74ea47a into swiftlang:main Oct 27, 2025
3 checks passed
@xymus xymus deleted the c-identifier-only branch October 27, 2025 16:17
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