@@ -1309,8 +1309,7 @@ class alignas(1 << TypeAlignInBits) TypeBase
13091309 // / \param genericEnv If non-null and the type is nested inside of a
13101310 // / generic function, generic parameters of the outer context are
13111311 // / mapped to context archetypes of this generic environment.
1312- SubstitutionMap getContextSubstitutionMap (ModuleDecl *module ,
1313- const DeclContext *dc,
1312+ SubstitutionMap getContextSubstitutionMap (const DeclContext *dc,
13141313 GenericEnvironment *genericEnv=nullptr );
13151314
13161315 // / Deprecated version of the above.
@@ -1322,8 +1321,7 @@ class alignas(1 << TypeAlignInBits) TypeBase
13221321 // /
13231322 // / \param genericEnv If non-null, generic parameters of the member are
13241323 // / mapped to context archetypes of this generic environment.
1325- SubstitutionMap getMemberSubstitutionMap (ModuleDecl *module ,
1326- const ValueDecl *member,
1324+ SubstitutionMap getMemberSubstitutionMap (const ValueDecl *member,
13271325 GenericEnvironment *genericEnv=nullptr );
13281326
13291327 // / Deprecated version of the above.
@@ -1340,7 +1338,7 @@ class alignas(1 << TypeAlignInBits) TypeBase
13401338 // / \param member The property whose type we are substituting.
13411339 // /
13421340 // / \returns The resulting property type.
1343- Type getTypeOfMember (ModuleDecl * module , const VarDecl *member);
1341+ Type getTypeOfMember (const VarDecl *member);
13441342
13451343 // / Retrieve the type of the given member as seen through the given base
13461344 // / type, substituting generic arguments where necessary.
@@ -1371,8 +1369,7 @@ class alignas(1 << TypeAlignInBits) TypeBase
13711369 // / method's generic parameters.
13721370 // /
13731371 // / \returns The resulting member type.
1374- Type getTypeOfMember (ModuleDecl *module , const ValueDecl *member,
1375- Type memberType);
1372+ Type getTypeOfMember (const ValueDecl *member, Type memberType);
13761373
13771374 // / Get the type of a superclass member as seen from the subclass,
13781375 // / substituting generic parameters, dynamic Self return, and the
@@ -7075,7 +7072,7 @@ class DependentMemberType : public TypeBase {
70757072 // / Substitute the base type, looking up our associated type in it if it is
70767073 // / non-dependent. Returns null if the member could not be found in the new
70777074 // / base.
7078- Type substBaseType (ModuleDecl *M, Type base);
7075+ Type substBaseType (Type base);
70797076
70807077 // / Substitute the base type, looking up our associated type in it if it is
70817078 // / non-dependent. Returns null if the member could not be found in the new
0 commit comments