Skip to content

[cxx-interop] Import OS_OBJECT_DECL consistently with and without C++ interop enabled #67116

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
Jul 5, 2023

Conversation

egorzhdan
Copy link
Contributor

Previously ClangImporter was not able to lookup NSObject when C++ interop is enabled, which caused types such as xpc_object_t from system module XPC to be imported differently: any OS_xpc_object without C++ interop vs any NSObject & OS_xpc_object with C++ interop enabled.

rdar://110000787

…++ interop enabled

Previously ClangImporter was not able to lookup `NSObject` when C++ interop is enabled, which caused types such as `xpc_object_t` from system module XPC to be imported differently: `any OS_xpc_object` without C++ interop vs `any NSObject & OS_xpc_object` with C++ interop enabled.

rdar://110000787
@egorzhdan egorzhdan added the c++ interop Feature: Interoperability with C++ label Jul 4, 2023
@egorzhdan egorzhdan requested review from zoecarver and hyp as code owners July 4, 2023 20:33
@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

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