Skip to content

[pull] swiftwasm from main #2466

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 7 commits into from
Jan 10, 2021
Merged

[pull] swiftwasm from main #2466

merged 7 commits into from
Jan 10, 2021

Conversation

pull[bot]
Copy link

@pull pull bot commented Jan 9, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

DougGregor and others added 7 commits January 8, 2021 12:08
The Clang swift_attr attribute allows C code to describe, via a Clang
attribute, the Swift attributes that should be applied to the given
declaration. When an

    __attribute__((__swift_attr__("@tribute")))

occurs on a Clang declaration, parse the attribute within the string
literal as a Swift attribute, then attach that to the imported Swift
declaration.

Fixes rdar://70146633.
Our name lookup rules for the resolution of custom attributes don't
allow for them to find MainActor within the _Concurrency library.
Therefore, hardcode @mainactor to map to _Concurrency.MainActor.

While here, make sure we drop concurrency-specific attributes that
show up in Clang attributes when we aren't in concurrency mode.
The UAP variant is included into the WinSDK module which then fails to
run.  Adjust the linkage.
…r-guards

[nfc] Add header guards and "requres cplusplus" to C++ benchmarks.
…-attrs

[Clang importer] Import Clang swift_attr attribute.
WinSDK: use `xinput` instead of `xinputuap`
@pull pull bot merged commit 7ade9ca into swiftwasm Jan 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants