Skip to content

[cxx-interop] Consider SWIFT_SHARED_REFERENCE and co Escapable - #91393

Open
Xazax-hun wants to merge 1 commit into
swiftlang:mainfrom
Xazax-hun:frts-considered-escapable
Open

[cxx-interop] Consider SWIFT_SHARED_REFERENCE and co Escapable#91393
Xazax-hun wants to merge 1 commit into
swiftlang:mainfrom
Xazax-hun:frts-considered-escapable

Conversation

@Xazax-hun

Copy link
Copy Markdown
Contributor

This PR makes sure FRTs always considered as escapable. So conflicting or redundant attributes are diagnosed. Also, this adds some fixes where some diagnostics were not emitted for forward declarations or type aliases. A templated shared reference with a non-escapable template argument now should trigger an error.

rdar://179532898

This PR makes sure FRTs always considered as escapable. So conflicting
or redundant attributes are diagnosed. Also, this adds some fixes where
some diagnostics were not emitted for forward declarations or type
aliases. A templated shared reference with a non-escapable template
argument now should trigger an error.

rdar://179532898
@Xazax-hun Xazax-hun added the c++ interop Feature: Interoperability with C++ label Aug 11, 2026
@Xazax-hun

Copy link
Copy Markdown
Contributor Author

@swift-ci please smoke test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ interop Feature: Interoperability with C++

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant