File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,10 @@ class alignas(1 << DeclAlignInBits) GenericEnvironment final
119119
120120 Type getOrCreateArchetypeFromInterfaceType (Type depType);
121121
122+ // / Add a mapping of a generic parameter to a specific type (which may be
123+ // / an archetype)
124+ void addMapping (GenericParamKey key, Type contextType);
125+
122126 // / Retrieve the mapping for the given generic parameter, if present.
123127 // /
124128 // / This is only useful when lazily populating a generic environment.
@@ -160,10 +164,6 @@ class alignas(1 << DeclAlignInBits) GenericEnvironment final
160164 static GenericEnvironment *forOpaqueType (
161165 OpaqueTypeDecl *opaque, SubstitutionMap subs, AllocationArena arena);
162166
163- // / Add a mapping of a generic parameter to a specific type (which may be
164- // / an archetype)
165- void addMapping (GenericParamKey key, Type contextType);
166-
167167 // / Make vanilla new/delete illegal.
168168 void *operator new (size_t Bytes) = delete ;
169169 void operator delete (void *Data) = delete ;
You can’t perform that action at this time.
0 commit comments