Skip to content

[cxx-interop] Use qualified name in import info of clang declarations #79791

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
Mar 11, 2025

Conversation

susmonteiro
Copy link
Contributor

When we had two enums with the same name in different namespaces/structs/classes, the import info name would be the same for both, resulting in a mix-up.

rdar://138485306

@susmonteiro susmonteiro added the c++ interop Feature: Interoperability with C++ label Mar 5, 2025
@susmonteiro
Copy link
Contributor Author

@swift-ci please smoke test

Copy link
Contributor

@egorzhdan egorzhdan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@susmonteiro susmonteiro force-pushed the susmonteiro/enums-same-gen-name branch from 1922c9b to fb2522f Compare March 5, 2025 15:47
@susmonteiro
Copy link
Contributor Author

@swift-ci please smoke test

@susmonteiro
Copy link
Contributor Author

@swift-ci please test Windows platform

@susmonteiro susmonteiro enabled auto-merge March 6, 2025 12:32
@susmonteiro
Copy link
Contributor Author

@swift-ci please smoke test

@susmonteiro susmonteiro force-pushed the susmonteiro/enums-same-gen-name branch from fb2522f to 18ee0ee Compare March 10, 2025 15:30
@susmonteiro
Copy link
Contributor Author

@swift-ci please smoke test

@susmonteiro
Copy link
Contributor Author

@swift-ci please test Windows platform

@susmonteiro susmonteiro merged commit 7f1792a into main Mar 11, 2025
3 checks passed
@susmonteiro susmonteiro deleted the susmonteiro/enums-same-gen-name branch March 11, 2025 20:34
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.

3 participants