mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user