AST: Remove unused 'resolver' parameter from ModuleDecl::lookupConformance()

... as well as a bunch of downstream plumbing that is no
longer necessary.
This commit is contained in:
Slava Pestov
2017-09-07 03:03:04 -07:00
parent 87a1354444
commit 9f8760b942
22 changed files with 44 additions and 74 deletions

View File

@@ -322,13 +322,11 @@ public:
///
/// \param protocol The protocol to which we are computing conformance.
///
/// \param resolver The lazy resolver.
///
/// \returns The result of the conformance search, which will be
/// None if the type does not conform to the protocol or contain a
/// ProtocolConformanceRef if it does conform.
Optional<ProtocolConformanceRef>
lookupConformance(Type type, ProtocolDecl *protocol, LazyResolver *resolver);
lookupConformance(Type type, ProtocolDecl *protocol);
/// Find a member named \p name in \p container that was declared in this
/// module.