@@ -3515,7 +3515,7 @@ class TargetTypeContextDescriptor
3515
3515
return getTypeContextDescriptorFlags ().hasForeignMetadataInitialization ();
3516
3516
}
3517
3517
3518
- bool hasCanonicicalMetadataPrespecializations () const {
3518
+ bool hasCanonicalMetadataPrespecializations () const {
3519
3519
return getTypeContextDescriptorFlags ().hasCanonicalMetadataPrespecializations ();
3520
3520
}
3521
3521
@@ -3557,7 +3557,7 @@ class TargetTypeContextDescriptor
3557
3557
}
3558
3558
3559
3559
const llvm::ArrayRef<TargetRelativeDirectPointer<Runtime, TargetMetadata<Runtime>, /* Nullable*/ false >>
3560
- getCanonicicalMetadataPrespecializations () const ;
3560
+ getCanonicalMetadataPrespecializations () const ;
3561
3561
3562
3562
swift_once_t *getCanonicalMetadataPrespecializationCachingOnceToken () const ;
3563
3563
@@ -3868,25 +3868,25 @@ class TargetClassDescriptor final
3868
3868
}
3869
3869
3870
3870
size_t numTrailingObjects (OverloadToken<MetadataListCount>) const {
3871
- return this ->hasCanonicicalMetadataPrespecializations () ?
3871
+ return this ->hasCanonicalMetadataPrespecializations () ?
3872
3872
1
3873
3873
: 0 ;
3874
3874
}
3875
3875
3876
3876
size_t numTrailingObjects (OverloadToken<MetadataListEntry>) const {
3877
- return this ->hasCanonicicalMetadataPrespecializations () ?
3877
+ return this ->hasCanonicalMetadataPrespecializations () ?
3878
3878
this ->template getTrailingObjects <MetadataListCount>()->count
3879
3879
: 0 ;
3880
3880
}
3881
3881
3882
3882
size_t numTrailingObjects (OverloadToken<MetadataAccessorListEntry>) const {
3883
- return this ->hasCanonicicalMetadataPrespecializations () ?
3883
+ return this ->hasCanonicalMetadataPrespecializations () ?
3884
3884
this ->template getTrailingObjects <MetadataListCount>()->count
3885
3885
: 0 ;
3886
3886
}
3887
3887
3888
3888
size_t numTrailingObjects (OverloadToken<MetadataCachingOnceToken>) const {
3889
- return this ->hasCanonicicalMetadataPrespecializations () ? 1 : 0 ;
3889
+ return this ->hasCanonicalMetadataPrespecializations () ? 1 : 0 ;
3890
3890
}
3891
3891
3892
3892
public:
@@ -4034,8 +4034,8 @@ class TargetClassDescriptor final
4034
4034
->Stub .get ();
4035
4035
}
4036
4036
4037
- llvm::ArrayRef<Metadata> getCanonicicalMetadataPrespecializations () const {
4038
- if (!this ->hasCanonicicalMetadataPrespecializations ()) {
4037
+ llvm::ArrayRef<Metadata> getCanonicalMetadataPrespecializations () const {
4038
+ if (!this ->hasCanonicalMetadataPrespecializations ()) {
4039
4039
return {};
4040
4040
}
4041
4041
@@ -4048,7 +4048,7 @@ class TargetClassDescriptor final
4048
4048
}
4049
4049
4050
4050
llvm::ArrayRef<MetadataAccessor> getCanonicalMetadataPrespecializationAccessors () const {
4051
- if (!this ->hasCanonicicalMetadataPrespecializations ()) {
4051
+ if (!this ->hasCanonicalMetadataPrespecializations ()) {
4052
4052
return {};
4053
4053
}
4054
4054
@@ -4061,7 +4061,7 @@ class TargetClassDescriptor final
4061
4061
}
4062
4062
4063
4063
swift_once_t *getCanonicalMetadataPrespecializationCachingOnceToken () const {
4064
- if (!this ->hasCanonicicalMetadataPrespecializations ()) {
4064
+ if (!this ->hasCanonicalMetadataPrespecializations ()) {
4065
4065
return nullptr ;
4066
4066
}
4067
4067
auto box = this ->template getTrailingObjects <MetadataCachingOnceToken>();
@@ -4138,19 +4138,19 @@ class TargetStructDescriptor final
4138
4138
}
4139
4139
4140
4140
size_t numTrailingObjects (OverloadToken<MetadataListCount>) const {
4141
- return this ->hasCanonicicalMetadataPrespecializations () ?
4141
+ return this ->hasCanonicalMetadataPrespecializations () ?
4142
4142
1
4143
4143
: 0 ;
4144
4144
}
4145
4145
4146
4146
size_t numTrailingObjects (OverloadToken<MetadataListEntry>) const {
4147
- return this ->hasCanonicicalMetadataPrespecializations () ?
4147
+ return this ->hasCanonicalMetadataPrespecializations () ?
4148
4148
this ->template getTrailingObjects <MetadataListCount>()->count
4149
4149
: 0 ;
4150
4150
}
4151
4151
4152
4152
size_t numTrailingObjects (OverloadToken<MetadataCachingOnceToken>) const {
4153
- return this ->hasCanonicicalMetadataPrespecializations () ? 1 : 0 ;
4153
+ return this ->hasCanonicalMetadataPrespecializations () ? 1 : 0 ;
4154
4154
}
4155
4155
4156
4156
public:
@@ -4185,8 +4185,8 @@ class TargetStructDescriptor final
4185
4185
return TargetStructMetadata<Runtime>::getGenericArgumentOffset ();
4186
4186
}
4187
4187
4188
- llvm::ArrayRef<Metadata> getCanonicicalMetadataPrespecializations () const {
4189
- if (!this ->hasCanonicicalMetadataPrespecializations ()) {
4188
+ llvm::ArrayRef<Metadata> getCanonicalMetadataPrespecializations () const {
4189
+ if (!this ->hasCanonicalMetadataPrespecializations ()) {
4190
4190
return {};
4191
4191
}
4192
4192
@@ -4199,7 +4199,7 @@ class TargetStructDescriptor final
4199
4199
}
4200
4200
4201
4201
swift_once_t *getCanonicalMetadataPrespecializationCachingOnceToken () const {
4202
- if (!this ->hasCanonicicalMetadataPrespecializations ()) {
4202
+ if (!this ->hasCanonicalMetadataPrespecializations ()) {
4203
4203
return nullptr ;
4204
4204
}
4205
4205
auto box = this ->template getTrailingObjects <MetadataCachingOnceToken>();
@@ -4265,19 +4265,19 @@ class TargetEnumDescriptor final
4265
4265
}
4266
4266
4267
4267
size_t numTrailingObjects (OverloadToken<MetadataListCount>) const {
4268
- return this ->hasCanonicicalMetadataPrespecializations () ?
4268
+ return this ->hasCanonicalMetadataPrespecializations () ?
4269
4269
1
4270
4270
: 0 ;
4271
4271
}
4272
4272
4273
4273
size_t numTrailingObjects (OverloadToken<MetadataListEntry>) const {
4274
- return this ->hasCanonicicalMetadataPrespecializations () ?
4274
+ return this ->hasCanonicalMetadataPrespecializations () ?
4275
4275
this ->template getTrailingObjects <MetadataListCount>()->count
4276
4276
: 0 ;
4277
4277
}
4278
4278
4279
4279
size_t numTrailingObjects (OverloadToken<MetadataCachingOnceToken>) const {
4280
- return this ->hasCanonicicalMetadataPrespecializations () ? 1 : 0 ;
4280
+ return this ->hasCanonicalMetadataPrespecializations () ? 1 : 0 ;
4281
4281
}
4282
4282
4283
4283
public:
@@ -4326,8 +4326,8 @@ class TargetEnumDescriptor final
4326
4326
return *this ->template getTrailingObjects <SingletonMetadataInitialization>();
4327
4327
}
4328
4328
4329
- llvm::ArrayRef<Metadata> getCanonicicalMetadataPrespecializations () const {
4330
- if (!this ->hasCanonicicalMetadataPrespecializations ()) {
4329
+ llvm::ArrayRef<Metadata> getCanonicalMetadataPrespecializations () const {
4330
+ if (!this ->hasCanonicalMetadataPrespecializations ()) {
4331
4331
return {};
4332
4332
}
4333
4333
@@ -4340,7 +4340,7 @@ class TargetEnumDescriptor final
4340
4340
}
4341
4341
4342
4342
swift_once_t *getCanonicalMetadataPrespecializationCachingOnceToken () const {
4343
- if (!this ->hasCanonicicalMetadataPrespecializations ()) {
4343
+ if (!this ->hasCanonicalMetadataPrespecializations ()) {
4344
4344
return nullptr ;
4345
4345
}
4346
4346
auto box = this ->template getTrailingObjects <MetadataCachingOnceToken>();
@@ -4483,17 +4483,17 @@ TargetTypeContextDescriptor<Runtime>::getSingletonMetadataInitialization() const
4483
4483
4484
4484
template <typename Runtime>
4485
4485
inline const llvm::ArrayRef<TargetRelativeDirectPointer<Runtime, TargetMetadata<Runtime>, /* Nullable*/ false >>
4486
- TargetTypeContextDescriptor<Runtime>::getCanonicicalMetadataPrespecializations () const {
4486
+ TargetTypeContextDescriptor<Runtime>::getCanonicalMetadataPrespecializations () const {
4487
4487
switch (this ->getKind ()) {
4488
4488
case ContextDescriptorKind::Enum:
4489
4489
return llvm::cast<TargetEnumDescriptor<Runtime>>(this )
4490
- ->getCanonicicalMetadataPrespecializations ();
4490
+ ->getCanonicalMetadataPrespecializations ();
4491
4491
case ContextDescriptorKind::Struct:
4492
4492
return llvm::cast<TargetStructDescriptor<Runtime>>(this )
4493
- ->getCanonicicalMetadataPrespecializations ();
4493
+ ->getCanonicalMetadataPrespecializations ();
4494
4494
case ContextDescriptorKind::Class:
4495
4495
return llvm::cast<TargetClassDescriptor<Runtime>>(this )
4496
- ->getCanonicicalMetadataPrespecializations ();
4496
+ ->getCanonicalMetadataPrespecializations ();
4497
4497
default :
4498
4498
swift_unreachable (" Not a type context descriptor." );
4499
4499
}
0 commit comments