Merge pull request #38753 from CodaFi/modulo-modules

[NFC] Remove Unused Module Parameter to Conformance Lookup
This commit is contained in:
Robert Widmann
2021-08-11 10:36:39 -07:00
committed by GitHub
20 changed files with 20 additions and 37 deletions

View File

@@ -1284,11 +1284,10 @@ void NominalTypeDecl::prepareConformanceTable() const {
}
bool NominalTypeDecl::lookupConformance(
ModuleDecl *module, ProtocolDecl *protocol,
ProtocolDecl *protocol,
SmallVectorImpl<ProtocolConformance *> &conformances) const {
prepareConformanceTable();
return ConformanceTable->lookupConformance(
module,
const_cast<NominalTypeDecl *>(this),
protocol,
conformances);