@@ -75,10 +75,10 @@ struct ElementEnvironmentData {
7575// / Describes the mapping between archetypes and interface types for the
7676// / generic parameters of a DeclContext.
7777// /
78- // / The most frequently used method here is mapTypeIntoContext (), which
78+ // / The most frequently used method here is mapTypeIntoEnvironment (), which
7979// / maps an interface type to a type written in terms of the generic
8080// / environment's archetypes; to go in the other direction, use
81- // / TypeBase::mapTypeOutOfContext ().
81+ // / TypeBase::mapTypeOutOfEnvironment ().
8282// /
8383class alignas (1 << DeclAlignInBits) GenericEnvironment final
8484 : private llvm::TrailingObjects<
@@ -279,14 +279,14 @@ class alignas(1 << DeclAlignInBits) GenericEnvironment final
279279 Type maybeApplyOuterContextSubstitutions (Type type) const ;
280280
281281 // / Map an interface type to a contextual type.
282- static Type mapTypeIntoContext (GenericEnvironment *genericEnv,
282+ static Type mapTypeIntoEnvironment (GenericEnvironment *genericEnv,
283283 Type type);
284284
285285 // / Map an interface type to a contextual type.
286- Type mapTypeIntoContext (Type type) const ;
286+ Type mapTypeIntoEnvironment (Type type) const ;
287287
288288 // / Map a generic parameter type to a contextual type.
289- Type mapTypeIntoContext (GenericTypeParamType *type) const ;
289+ Type mapTypeIntoEnvironment (GenericTypeParamType *type) const ;
290290
291291 // / Map a type parameter type to a contextual type.
292292 Type getOrCreateArchetypeFromInterfaceType (Type depType);
@@ -327,7 +327,7 @@ class alignas(1 << DeclAlignInBits) GenericEnvironment final
327327 // /
328328 // / This operation will also reabstract dependent types according to the
329329 // / abstraction level of their associated type requirements.
330- SILType mapTypeIntoContext (SILModule &M, SILType type) const ;
330+ SILType mapTypeIntoEnvironment (SILModule &M, SILType type) const ;
331331
332332 // / Returns a substitution map that sends every generic parameter to its
333333 // / corresponding archetype in this generic environment.
0 commit comments