Files
swift-mirror/test/Interop/CxxToSwiftToObjcxx
Egor Zhdan c45753dca2 [cxx-interop][SwiftToCxx] Emit foreign reference types with * in the generated Clang header
C++ foreign reference types are imported to Swift as classes, not structs. When generating a Clang header that represents a Swift struct holding a C++ FRT as a field, we need to print the FRT as a pointer.

This was previously hitting an assertion in debug builds of the compiler: `assert(CD->isObjC())`.

rdar://114711899
2023-08-31 13:20:11 +01:00
..