swift
ef63ec99 - [6.2][cxx-interop] Fix crash when using bridging headers in reverse interop

Commit
37 days ago
[6.2][cxx-interop] Fix crash when using bridging headers in reverse interop Explanation: The original code had the assumption we only import modules. However, there is a flag to import an umbrella header in which case the clang nodes have no owning module. This PR prevents a null dereference in that case. Issues: rdar://157489426 Original PRs: #83540 Risk: Low, added a check to avoid null dereference. Testing: Added a compiler test. Reviewers: @egorzhdan
Author
Committer
Gabor Horvath
Parents
Loading