swift
cdbe9991 - [cxx-interop] Emit type metadata for foreign types more often

Commit
1 year ago
[cxx-interop] Emit type metadata for foreign types more often Metadata for foreign types are emitted lazily, when SILGen generates a reference to it. Unfortunately, C++ reverse interop can also introduce references to such metadata in the generated header when types are used as generic arguments. This adds a type visitor to make note of the type metadata use for those generic arguments in public APIs when C++ interop is enabled. rdar://132925256
Author
Gabor Horvath
Committer
Gabor Horvath
Parents
Loading