swift
fa65cc9b - [cxx-interop] Add attribute to hide Swift declarations from interop

Commit
62 days ago
[cxx-interop] Add attribute to hide Swift declarations from interop Explanation: We generate declarations in the C++ interop header with "unavailable" annotations when we cannot export something to C++. These declarations can collide with existing names. Previously, there were no ways to resolve these name collisions. This PR introduces a new attribute to hide declarations from the interop header. Issues: rdar://158843666 Original PRs: #82616 Risk: Low, this adds a new, straightforward code path. Testing: Added a compiler test. Reviewers: @egorzhdan
Author
Committer
Gabor Horvath
Parents
Loading