Skip to content

[APINotes] Support globals in extern "C++" blocks #7309

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 1 commit into from
Aug 24, 2023

Conversation

egorzhdan
Copy link

This will be used to apply attributes to the C++ stdlib functions like strstr, exit, etc.

rdar://114382260

This will be used to apply attributes to the C++ stdlib functions like `strstr`, `exit`, etc.

rdar://114382260
egorzhdan added a commit to swiftlang/swift that referenced this pull request Aug 24, 2023
This adds an `std.apinotes` file that is installed into `lib/swift/apinotes` along with existing Darwin apinotes. This new file is installed on all platforms. It replaces a few special cases in the compiler for `cmath` and `cstring` functions.

This does not require the upcoming APINotes support for namespaces, however, this does require swiftlang/llvm-project#7309.

rdar://107572302
@egorzhdan egorzhdan merged commit c49146c into next Aug 24, 2023
@egorzhdan egorzhdan deleted the egorzhdan/apinotes-extern-cxx branch August 24, 2023 18:03
egorzhdan added a commit to swiftlang/swift that referenced this pull request Aug 29, 2023
This adds an `std.apinotes` file that is installed into `lib/swift/apinotes` along with existing Darwin apinotes. This new file is installed on all platforms. It replaces a few special cases in the compiler for `cmath` and `cstring` functions.

This does not require the upcoming APINotes support for namespaces, however, this does require swiftlang/llvm-project#7309.

rdar://107572302
egorzhdan added a commit to swiftlang/swift that referenced this pull request Aug 29, 2023
This adds an `std.apinotes` file that is installed into `lib/swift/apinotes` along with existing Darwin apinotes. This new file is installed on all platforms. It replaces a few special cases in the compiler for `cmath` and `cstring` functions.

This does not require the upcoming APINotes support for namespaces, however, this does require swiftlang/llvm-project#7309.

rdar://107572302
egorzhdan added a commit to swiftlang/swift that referenced this pull request Aug 29, 2023
This adds an `std.apinotes` file that is installed into `lib/swift/apinotes` along with existing Darwin apinotes. This new file is installed on all platforms. It replaces a few special cases in the compiler for `cmath` and `cstring` functions.

This does not require the upcoming APINotes support for namespaces, however, this does require swiftlang/llvm-project#7309.

rdar://107572302
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