Merge remote-tracking branch 'origin/master' into master-next

This commit is contained in:
Bob Wilson
2016-12-13 10:23:03 -08:00
703 changed files with 12297 additions and 6112 deletions

View File

@@ -432,7 +432,7 @@ namespace {
return;
}
}
}
} // end anonymous namespace
bool ConformanceLookupTable::addProtocol(NominalTypeDecl *nominal,
ProtocolDecl *protocol, SourceLoc loc,
@@ -801,8 +801,7 @@ ProtocolConformance *ConformanceLookupTable::getConformance(
return nullptr;
auto *conformingNominal =
cast<NominalTypeDecl>(conformingDC->
getAsGenericTypeOrGenericTypeExtensionContext());
conformingDC->getAsNominalTypeOrNominalTypeExtensionContext();
// Form the conformance.
Type type = entry->getDeclContext()->getDeclaredTypeInContext();