Skip to content

[CxxInterop] Change C++ interop header ordering #67976

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 18, 2023

Conversation

bnbarham
Copy link
Contributor

Consider the case of a toolchain that includes clang is being used to compile Swift. With the current ordering, the header will be found relative to that toolchain, which could be out of date as compared to tip. This is the case today if eg. a 5.7 toolchain is used to build main/5.9 as the shim header is missing a definition.

@bnbarham
Copy link
Contributor Author

@swift-ci please test

Consider the case of a toolchain that includes clang is being used to
compile Swift. With the current ordering, the header will be found
relative to that toolchain, which could be out of date as compared to
tip. This is the case today if eg. a 5.7 toolchain is used to build
main/5.9 as the shim header is missing a definition.
@bnbarham bnbarham force-pushed the swap-cxx-include-order branch from c0810a2 to e0b976d Compare August 17, 2023 16:46
@bnbarham
Copy link
Contributor Author

@swift-ci please test

@bnbarham bnbarham merged commit db22b88 into swiftlang:main Aug 18, 2023
@bnbarham bnbarham deleted the swap-cxx-include-order branch August 18, 2023 01:52
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.

2 participants