Files
swift-mirror/test/Interop/ObjCToSwiftToObjCxx
Egor Zhdan 50035f42d8 [cxx-interop] Wrap methods that take Obj-C params in #if defined(__OBJC__)
When generating a C++ header for a Swift module, we wrap declarations that require Objective-C++ in `#if defined(__OBJC__)` blocks, to make the headers usable with Obj-C interop disabled. This logic wasn't being applied to Swift methods and initializers that take an Objective-C class.

rdar://164465358
2025-11-13 16:52:18 +00:00
..