@@ -3515,7 +3515,7 @@ class TargetTypeContextDescriptor
35153515 return getTypeContextDescriptorFlags ().hasForeignMetadataInitialization ();
35163516 }
35173517
3518- bool hasCanonicicalMetadataPrespecializations () const {
3518+ bool hasCanonicalMetadataPrespecializations () const {
35193519 return getTypeContextDescriptorFlags ().hasCanonicalMetadataPrespecializations ();
35203520 }
35213521
@@ -3557,7 +3557,7 @@ class TargetTypeContextDescriptor
35573557 }
35583558
35593559 const llvm::ArrayRef<TargetRelativeDirectPointer<Runtime, TargetMetadata<Runtime>, /* Nullable*/ false >>
3560- getCanonicicalMetadataPrespecializations () const ;
3560+ getCanonicalMetadataPrespecializations () const ;
35613561
35623562 swift_once_t *getCanonicalMetadataPrespecializationCachingOnceToken () const ;
35633563
@@ -3868,25 +3868,25 @@ class TargetClassDescriptor final
38683868 }
38693869
38703870 size_t numTrailingObjects (OverloadToken<MetadataListCount>) const {
3871- return this ->hasCanonicicalMetadataPrespecializations () ?
3871+ return this ->hasCanonicalMetadataPrespecializations () ?
38723872 1
38733873 : 0 ;
38743874 }
38753875
38763876 size_t numTrailingObjects (OverloadToken<MetadataListEntry>) const {
3877- return this ->hasCanonicicalMetadataPrespecializations () ?
3877+ return this ->hasCanonicalMetadataPrespecializations () ?
38783878 this ->template getTrailingObjects <MetadataListCount>()->count
38793879 : 0 ;
38803880 }
38813881
38823882 size_t numTrailingObjects (OverloadToken<MetadataAccessorListEntry>) const {
3883- return this ->hasCanonicicalMetadataPrespecializations () ?
3883+ return this ->hasCanonicalMetadataPrespecializations () ?
38843884 this ->template getTrailingObjects <MetadataListCount>()->count
38853885 : 0 ;
38863886 }
38873887
38883888 size_t numTrailingObjects (OverloadToken<MetadataCachingOnceToken>) const {
3889- return this ->hasCanonicicalMetadataPrespecializations () ? 1 : 0 ;
3889+ return this ->hasCanonicalMetadataPrespecializations () ? 1 : 0 ;
38903890 }
38913891
38923892public:
@@ -4034,8 +4034,8 @@ class TargetClassDescriptor final
40344034 ->Stub .get ();
40354035 }
40364036
4037- llvm::ArrayRef<Metadata> getCanonicicalMetadataPrespecializations () const {
4038- if (!this ->hasCanonicicalMetadataPrespecializations ()) {
4037+ llvm::ArrayRef<Metadata> getCanonicalMetadataPrespecializations () const {
4038+ if (!this ->hasCanonicalMetadataPrespecializations ()) {
40394039 return {};
40404040 }
40414041
@@ -4048,7 +4048,7 @@ class TargetClassDescriptor final
40484048 }
40494049
40504050 llvm::ArrayRef<MetadataAccessor> getCanonicalMetadataPrespecializationAccessors () const {
4051- if (!this ->hasCanonicicalMetadataPrespecializations ()) {
4051+ if (!this ->hasCanonicalMetadataPrespecializations ()) {
40524052 return {};
40534053 }
40544054
@@ -4061,7 +4061,7 @@ class TargetClassDescriptor final
40614061 }
40624062
40634063 swift_once_t *getCanonicalMetadataPrespecializationCachingOnceToken () const {
4064- if (!this ->hasCanonicicalMetadataPrespecializations ()) {
4064+ if (!this ->hasCanonicalMetadataPrespecializations ()) {
40654065 return nullptr ;
40664066 }
40674067 auto box = this ->template getTrailingObjects <MetadataCachingOnceToken>();
@@ -4138,19 +4138,19 @@ class TargetStructDescriptor final
41384138 }
41394139
41404140 size_t numTrailingObjects (OverloadToken<MetadataListCount>) const {
4141- return this ->hasCanonicicalMetadataPrespecializations () ?
4141+ return this ->hasCanonicalMetadataPrespecializations () ?
41424142 1
41434143 : 0 ;
41444144 }
41454145
41464146 size_t numTrailingObjects (OverloadToken<MetadataListEntry>) const {
4147- return this ->hasCanonicicalMetadataPrespecializations () ?
4147+ return this ->hasCanonicalMetadataPrespecializations () ?
41484148 this ->template getTrailingObjects <MetadataListCount>()->count
41494149 : 0 ;
41504150 }
41514151
41524152 size_t numTrailingObjects (OverloadToken<MetadataCachingOnceToken>) const {
4153- return this ->hasCanonicicalMetadataPrespecializations () ? 1 : 0 ;
4153+ return this ->hasCanonicalMetadataPrespecializations () ? 1 : 0 ;
41544154 }
41554155
41564156public:
@@ -4185,8 +4185,8 @@ class TargetStructDescriptor final
41854185 return TargetStructMetadata<Runtime>::getGenericArgumentOffset ();
41864186 }
41874187
4188- llvm::ArrayRef<Metadata> getCanonicicalMetadataPrespecializations () const {
4189- if (!this ->hasCanonicicalMetadataPrespecializations ()) {
4188+ llvm::ArrayRef<Metadata> getCanonicalMetadataPrespecializations () const {
4189+ if (!this ->hasCanonicalMetadataPrespecializations ()) {
41904190 return {};
41914191 }
41924192
@@ -4199,7 +4199,7 @@ class TargetStructDescriptor final
41994199 }
42004200
42014201 swift_once_t *getCanonicalMetadataPrespecializationCachingOnceToken () const {
4202- if (!this ->hasCanonicicalMetadataPrespecializations ()) {
4202+ if (!this ->hasCanonicalMetadataPrespecializations ()) {
42034203 return nullptr ;
42044204 }
42054205 auto box = this ->template getTrailingObjects <MetadataCachingOnceToken>();
@@ -4265,19 +4265,19 @@ class TargetEnumDescriptor final
42654265 }
42664266
42674267 size_t numTrailingObjects (OverloadToken<MetadataListCount>) const {
4268- return this ->hasCanonicicalMetadataPrespecializations () ?
4268+ return this ->hasCanonicalMetadataPrespecializations () ?
42694269 1
42704270 : 0 ;
42714271 }
42724272
42734273 size_t numTrailingObjects (OverloadToken<MetadataListEntry>) const {
4274- return this ->hasCanonicicalMetadataPrespecializations () ?
4274+ return this ->hasCanonicalMetadataPrespecializations () ?
42754275 this ->template getTrailingObjects <MetadataListCount>()->count
42764276 : 0 ;
42774277 }
42784278
42794279 size_t numTrailingObjects (OverloadToken<MetadataCachingOnceToken>) const {
4280- return this ->hasCanonicicalMetadataPrespecializations () ? 1 : 0 ;
4280+ return this ->hasCanonicalMetadataPrespecializations () ? 1 : 0 ;
42814281 }
42824282
42834283public:
@@ -4326,8 +4326,8 @@ class TargetEnumDescriptor final
43264326 return *this ->template getTrailingObjects <SingletonMetadataInitialization>();
43274327 }
43284328
4329- llvm::ArrayRef<Metadata> getCanonicicalMetadataPrespecializations () const {
4330- if (!this ->hasCanonicicalMetadataPrespecializations ()) {
4329+ llvm::ArrayRef<Metadata> getCanonicalMetadataPrespecializations () const {
4330+ if (!this ->hasCanonicalMetadataPrespecializations ()) {
43314331 return {};
43324332 }
43334333
@@ -4340,7 +4340,7 @@ class TargetEnumDescriptor final
43404340 }
43414341
43424342 swift_once_t *getCanonicalMetadataPrespecializationCachingOnceToken () const {
4343- if (!this ->hasCanonicicalMetadataPrespecializations ()) {
4343+ if (!this ->hasCanonicalMetadataPrespecializations ()) {
43444344 return nullptr ;
43454345 }
43464346 auto box = this ->template getTrailingObjects <MetadataCachingOnceToken>();
@@ -4483,17 +4483,17 @@ TargetTypeContextDescriptor<Runtime>::getSingletonMetadataInitialization() const
44834483
44844484template <typename Runtime>
44854485inline const llvm::ArrayRef<TargetRelativeDirectPointer<Runtime, TargetMetadata<Runtime>, /* Nullable*/ false >>
4486- TargetTypeContextDescriptor<Runtime>::getCanonicicalMetadataPrespecializations () const {
4486+ TargetTypeContextDescriptor<Runtime>::getCanonicalMetadataPrespecializations () const {
44874487 switch (this ->getKind ()) {
44884488 case ContextDescriptorKind::Enum:
44894489 return llvm::cast<TargetEnumDescriptor<Runtime>>(this )
4490- ->getCanonicicalMetadataPrespecializations ();
4490+ ->getCanonicalMetadataPrespecializations ();
44914491 case ContextDescriptorKind::Struct:
44924492 return llvm::cast<TargetStructDescriptor<Runtime>>(this )
4493- ->getCanonicicalMetadataPrespecializations ();
4493+ ->getCanonicalMetadataPrespecializations ();
44944494 case ContextDescriptorKind::Class:
44954495 return llvm::cast<TargetClassDescriptor<Runtime>>(this )
4496- ->getCanonicicalMetadataPrespecializations ();
4496+ ->getCanonicalMetadataPrespecializations ();
44974497 default :
44984498 swift_unreachable (" Not a type context descriptor." );
44994499 }
0 commit comments