Skip to content

Commit fd55ab7

Browse files
authored
Merge pull request swiftlang#28059 from CodaFi/just-my-type
2 parents e0ab8c9 + ce4b20c commit fd55ab7

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

include/swift/AST/GenericSignatureBuilder.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -536,9 +536,6 @@ class GenericSignatureBuilder {
536536
Type conformingReplacementType,
537537
ProtocolDecl *conformedProtocol);
538538

539-
/// Retrieve the lazy resolver, if there is one.
540-
LazyResolver *getLazyResolver() const;
541-
542539
/// Enumerate the requirements that describe the signature of this
543540
/// generic signature builder.
544541
///

lib/AST/GenericSignatureBuilder.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3515,10 +3515,6 @@ GenericSignatureBuilder::lookupConformance(CanType dependentType,
35153515
conformedProtocol);
35163516
}
35173517

3518-
LazyResolver *GenericSignatureBuilder::getLazyResolver() const {
3519-
return Context.getLazyResolver();
3520-
}
3521-
35223518
/// Resolve any unresolved dependent member types using the given builder.
35233519
static Type resolveDependentMemberTypes(GenericSignatureBuilder &builder,
35243520
Type type) {

lib/IDE/TypeContextInfo.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ void ContextInfoCallbacks::getImplicitMembers(
130130

131131
class LocalConsumer : public VisibleDeclConsumer {
132132
DeclContext *DC;
133-
LazyResolver *TypeResolver;
134133
ModuleDecl *CurModule;
135134
Type T;
136135
SmallVectorImpl<ValueDecl *> &Result;
@@ -157,8 +156,7 @@ void ContextInfoCallbacks::getImplicitMembers(
157156

158157
public:
159158
LocalConsumer(DeclContext *DC, Type T, SmallVectorImpl<ValueDecl *> &Result)
160-
: DC(DC), TypeResolver(DC->getASTContext().getLazyResolver()),
161-
CurModule(DC->getParentModule()), T(T), Result(Result) {}
159+
: DC(DC), CurModule(DC->getParentModule()), T(T), Result(Result) {}
162160

163161
void foundDecl(ValueDecl *VD, DeclVisibilityKind Reason,
164162
DynamicLookupInfo) {

0 commit comments

Comments
 (0)