[NFC] getWitnessMethodConformanceOrNone -> getWitnessMethodConformanceOrInvalid

This commit is contained in:
Robert Widmann
2019-10-29 15:57:42 -07:00
parent 3e1a61f425
commit 37e82a6133
15 changed files with 38 additions and 45 deletions

View File

@@ -362,7 +362,7 @@ ExistentialTransform::createExistentialSpecializedFunctionType() {
/// Finally the ExtInfo.
auto ExtInfo = FTy->getExtInfo();
ExtInfo = ExtInfo.withRepresentation(SILFunctionTypeRepresentation::Thin);
auto witnessMethodConformance = FTy->getWitnessMethodConformanceOrNone();
auto witnessMethodConformance = FTy->getWitnessMethodConformanceOrInvalid();
/// Return the new signature.
return SILFunctionType::get(