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
119
119
120
120
Type getOrCreateArchetypeFromInterfaceType (Type depType);
121
121
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
+
122
126
// / Retrieve the mapping for the given generic parameter, if present.
123
127
// /
124
128
// / This is only useful when lazily populating a generic environment.
@@ -160,10 +164,6 @@ class alignas(1 << DeclAlignInBits) GenericEnvironment final
160
164
static GenericEnvironment *forOpaqueType (
161
165
OpaqueTypeDecl *opaque, SubstitutionMap subs, AllocationArena arena);
162
166
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
-
167
167
// / Make vanilla new/delete illegal.
168
168
void *operator new (size_t Bytes) = delete ;
169
169
void operator delete (void *Data) = delete ;
You can’t perform that action at this time.
0 commit comments