Crazy凡
c05d1fc135
[c++ interop] Swift should allow multiple SWIFT_CONFORMS_TO_PROTOCOL attributes on a C++ class.
2025-04-06 22:24:14 +08:00
fahadnayyar
d8f919778d
[cxx-interop] [cxx-interop] Infer SWIFT_SHARED_REFERENCE for types inheriting from a C++ foreign reference type
...
rdar://97914474
2025-02-20 08:46:57 -08:00
Egor Zhdan
b330376a43
[cxx-interop] Pull changes from swift-6 compat mode into swift-5.9
...
This gives projects using C++ interop compat mode 5.9 access to the new features such as virtual methods and move-only types.
rdar://126485814
2024-04-24 11:53:31 +01:00
Egor Zhdan
78b9de1391
[cxx-interop] Run tests with swift-6 compat mode
2024-02-23 16:24:14 +00:00
Egor Zhdan
45b22542d5
[cxx-interop] Propagate CONFORMS_TO attribute to derived classes
...
If `struct Base` is a public base class of `struct Derived`, and `Base` is annotated with `__attribute__((swift_attr("conforms_to:MyModule.MyProto")))`, `Derived` will now also get a conformance to `MyProto`.
rdar://113971944
2023-12-07 18:11:37 +00:00
Alex Lorenz
90d1c24674
[interop] 'conforms_to' attribute should be qualified with module name
...
Also, improve the diagnostics for 'conforms_to'
2023-03-17 15:09:27 -07:00
zoecarver
5eb7c7a6cf
[cxx-interop] Add ability to specify protocol conformance on C++ side.
2022-11-30 17:26:15 -07:00