mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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