Skip to content

[clang] Add __has_extension(swiftcc) support #8441

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

Conversation

kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Mar 20, 2024

🍒 Upstream PR: llvm#85347


This patch adds swiftcc extension to check if the target supports Swift calling convention as well as we do for swiftasynccc. Also swiftasynccc is now considered to be a Clang extension rather than a language standard feature to reflect the nature of the attribute.

This patch adds `swiftcc` extension to check if the target supports Swift
calling convention as well as we do for `swiftasynccc`.
Also `swiftasynccc` is now considered to be a Clang extension rather than a
language standard feature to reflect the nature of the attribute.
@kateinoigakukun kateinoigakukun force-pushed the katei/add-swiftcc-feature branch from 7533a5c to ea1fea6 Compare March 26, 2024 06:05
@kateinoigakukun kateinoigakukun marked this pull request as ready for review March 27, 2024 02:05
@kateinoigakukun
Copy link
Member Author

@swift-ci Please test

@kateinoigakukun
Copy link
Member Author

Please test with following pull request:
swiftlang/swift#72345

@swift-ci Please test macOS platform

@kateinoigakukun
Copy link
Member Author

Please test with following pull request:
swiftlang/swift#72345

@swift-ci Please test Windows platform

@kateinoigakukun kateinoigakukun merged commit 87789f0 into swiftlang:stable/20230725 Mar 27, 2024
@kateinoigakukun kateinoigakukun deleted the katei/add-swiftcc-feature branch April 4, 2024 06:42
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