mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[stdlib] Consolidate bridging protocols
Squash _[Conditionally]BridgedToObjectiveC into one protocol. This change results in simpler bridging code with fewer dynamic protocol conformance checks, and solves the nasty naming/semantics problem that resulted from having _ConditionallyBridgedToObjectiveC refining _BridgedToObjectiveC. Also, rename things so they're more symmetrical and less confusing. Swift SVN r20664
This commit is contained in:
@@ -1208,8 +1208,7 @@ namespace index_block {
|
||||
Hashable,
|
||||
Comparable,
|
||||
|
||||
_BridgedToObjectiveCType,
|
||||
_ConditionallyBridgedToObjectiveCType,
|
||||
_ObjectiveCBridgeable
|
||||
};
|
||||
|
||||
using KnownProtocolLayout = BCGenericRecordLayout<
|
||||
|
||||
Reference in New Issue
Block a user