mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Explanation: There was a null pointer dereference in reverse interop when we wanted to expose an ObjC class written in Swift. There was a crash during generating the scaffolding we do for Clang types. Since the type is written in Swift, no such scaffolding is needed, this patch skips this operation avoiding the null dereference. Scope: Reverse C++ interop when exposing @ObjC classes written in Swift. Issues: rdar://154252454 Original PRs: #82684 Risk: Low, the fix is narrow to the affected scenario. Testing: Added a compiler test. Reviewers: @egorzhdan
42 KiB
42 KiB