llvm-project
dc8c217d - [APINotes] Support C++ tag conformances to Swift protocols

Commit
1 year ago
[APINotes] Support C++ tag conformances to Swift protocols This allows adding a Clang attribute `swift_attr("conforms_to:ModuleName.ProtocolName")` to C++ structs via API Notes. The Swift compiler respects this attribute when importing C++ types into Swift by automatically declaring the C++ type as a conforming type to the given Swift protocol. rdar://131388824
Author
Parents
Loading