Merge pull request #84881 from egorzhdan/egorzhdan/remove-opt-out-flag

[cxx-interop] Remove opt-out flag for constructors of foreign reference types
This commit is contained in:
Egor Zhdan
2025-10-15 12:17:23 +01:00
committed by GitHub
3 changed files with 24 additions and 33 deletions

View File

@@ -498,10 +498,6 @@ EXPERIMENTAL_FEATURE(AssumeResilientCxxTypes, true)
/// Import inherited non-public members when importing C++ classes.
EXPERIMENTAL_FEATURE(ImportNonPublicCxxMembers, true)
/// Suppress the synthesis of static factory methods for C++ foreign reference
/// types and importing them as Swift initializers.
EXPERIMENTAL_FEATURE(SuppressCXXForeignReferenceTypeInitializers, true)
/// Emit a warning when a C++ API returns a SWIFT_SHARED_REFERENCE type
/// without being explicitly annotated with either SWIFT_RETURNS_RETAINED
/// or SWIFT_RETURNS_UNRETAINED.