Skip to content

[CxxInterop] Add tests for extern vars #31093

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 23 commits into from
Apr 22, 2020
Merged

Conversation

hlopko
Copy link
Contributor

@hlopko hlopko commented Apr 17, 2020

Right now names of extern vars are not mangled therefore there are conflicts between toplevel vars and e.g. namespaced vars. These tests are commented out and accompanied with a FIXME. This will be fixed in #31070.

Progres on SR-12464.

@gribozavr
Copy link
Contributor

Please also add SILGen and IRGen tests for passing the C globals as Swiftinout -- the variable should be passed by reference without a writeback buffer.

@hlopko
Copy link
Contributor Author

hlopko commented Apr 20, 2020

Please also add SILGen and IRGen tests for passing the C globals as Swiftinout -- the variable should be passed by reference without a writeback buffer.

Done.

@gribozavr
Copy link
Contributor

@swift-ci Please smoke test

@gribozavr
Copy link
Contributor

@swift-ci Please smoke test macOS

1 similar comment
@gribozavr
Copy link
Contributor

@swift-ci Please smoke test macOS

@hlopko
Copy link
Contributor Author

hlopko commented Apr 20, 2020

PTAL :)

@gribozavr
Copy link
Contributor

@swift-ci Please test

@gribozavr
Copy link
Contributor

@swift-ci Please test Windows

1 similar comment
@gribozavr
Copy link
Contributor

@swift-ci Please test Windows

@gribozavr
Copy link
Contributor

@swift-ci Please smoke test macOS

1 similar comment
@gribozavr
Copy link
Contributor

@swift-ci Please smoke test macOS

@gribozavr gribozavr merged commit d49c83c into swiftlang:master Apr 22, 2020
@gribozavr gribozavr added the c++ interop Feature: Interoperability with C++ label Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants