Skip to content

[cxx-interop][nfc] Remove internal header dependency on swift shims. #39911

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
Oct 26, 2021

Conversation

zoecarver
Copy link
Contributor

The internal compiler headers should not include swift shim headers. Removing this dependency allows libSwift to import Swift compiler headers (otherwise, we get name conflicts, because we import SwiftShims headers twice: from the source includes and build includes).

@zoecarver zoecarver added the c++ interop Feature: Interoperability with C++ label Oct 25, 2021
@zoecarver zoecarver requested review from hyp and guitard0g October 25, 2021 21:02
@zoecarver
Copy link
Contributor Author

@swift-ci please smoke test.

@zoecarver
Copy link
Contributor Author

@swift-ci please test Windows

…b/shims.

The internal compiler headers should not include swift shim headers. Removing this dependency allows libSwift to import Swift compiler headers (otherwise, we get name conflics, because we import SwiftShims headers twice: from the source includes and build includes).
@zoecarver zoecarver force-pushed the decouple-swift-shims branch from ff15e75 to 2546406 Compare October 25, 2021 21:57
@zoecarver
Copy link
Contributor Author

@swift-ci please smoke test.

@zoecarver
Copy link
Contributor Author

@swift-ci please smoke test Linux

@zoecarver zoecarver merged commit c209f52 into swiftlang:main Oct 26, 2021
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.

1 participant