mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
implement SILGen and IRGen support for witness table generation of non-objc optional
protocol requirements. Not testable because sema doesn't allow these to exist. Swift SVN r21513
This commit is contained in:
@@ -122,6 +122,7 @@ SILWitnessTable::~SILWitnessTable() {
|
||||
case AssociatedType:
|
||||
case AssociatedTypeProtocol:
|
||||
case BaseProtocol:
|
||||
case MissingOptional:
|
||||
case Invalid:
|
||||
break;
|
||||
}
|
||||
@@ -145,6 +146,7 @@ void SILWitnessTable::convertToDefinition(ArrayRef<Entry> entries) {
|
||||
case AssociatedType:
|
||||
case AssociatedTypeProtocol:
|
||||
case BaseProtocol:
|
||||
case MissingOptional:
|
||||
case Invalid:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user