@@ -1309,8 +1309,7 @@ class alignas(1 << TypeAlignInBits) TypeBase
1309
1309
// / \param genericEnv If non-null and the type is nested inside of a
1310
1310
// / generic function, generic parameters of the outer context are
1311
1311
// / mapped to context archetypes of this generic environment.
1312
- SubstitutionMap getContextSubstitutionMap (ModuleDecl *module,
1313
- const DeclContext *dc,
1312
+ SubstitutionMap getContextSubstitutionMap (const DeclContext *dc,
1314
1313
GenericEnvironment *genericEnv=nullptr );
1315
1314
1316
1315
// / Deprecated version of the above.
@@ -1322,8 +1321,7 @@ class alignas(1 << TypeAlignInBits) TypeBase
1322
1321
// /
1323
1322
// / \param genericEnv If non-null, generic parameters of the member are
1324
1323
// / mapped to context archetypes of this generic environment.
1325
- SubstitutionMap getMemberSubstitutionMap (ModuleDecl *module,
1326
- const ValueDecl *member,
1324
+ SubstitutionMap getMemberSubstitutionMap (const ValueDecl *member,
1327
1325
GenericEnvironment *genericEnv=nullptr );
1328
1326
1329
1327
// / Deprecated version of the above.
@@ -1340,7 +1338,7 @@ class alignas(1 << TypeAlignInBits) TypeBase
1340
1338
// / \param member The property whose type we are substituting.
1341
1339
// /
1342
1340
// / \returns The resulting property type.
1343
- Type getTypeOfMember (ModuleDecl *module, const VarDecl *member);
1341
+ Type getTypeOfMember (const VarDecl *member);
1344
1342
1345
1343
// / Retrieve the type of the given member as seen through the given base
1346
1344
// / type, substituting generic arguments where necessary.
@@ -1371,8 +1369,7 @@ class alignas(1 << TypeAlignInBits) TypeBase
1371
1369
// / method's generic parameters.
1372
1370
// /
1373
1371
// / \returns The resulting member type.
1374
- Type getTypeOfMember (ModuleDecl *module, const ValueDecl *member,
1375
- Type memberType);
1372
+ Type getTypeOfMember (const ValueDecl *member, Type memberType);
1376
1373
1377
1374
// / Get the type of a superclass member as seen from the subclass,
1378
1375
// / substituting generic parameters, dynamic Self return, and the
@@ -7075,7 +7072,7 @@ class DependentMemberType : public TypeBase {
7075
7072
// / Substitute the base type, looking up our associated type in it if it is
7076
7073
// / non-dependent. Returns null if the member could not be found in the new
7077
7074
// / base.
7078
- Type substBaseType (ModuleDecl *M, Type base);
7075
+ Type substBaseType (Type base);
7079
7076
7080
7077
// / Substitute the base type, looking up our associated type in it if it is
7081
7078
// / non-dependent. Returns null if the member could not be found in the new
0 commit comments