@@ -2947,7 +2947,7 @@ struct swift_ptrauth_struct_context_descriptor(ContextDescriptor)
2947
2947
// / that are suppressed here, but that information is recorded in the
2948
2948
// / conditional suppressed protocols of the corresponding `GenericContext`.
2949
2949
const SuppressibleProtocolSet *
2950
- getSuppresssedProtocols () const ;
2950
+ getSuppressedProtocols () const ;
2951
2951
2952
2952
// / Is this context part of a C-imported module?
2953
2953
bool isCImportedContext () const ;
@@ -3302,7 +3302,7 @@ struct swift_ptrauth_struct_context_descriptor(OpaqueTypeDescriptor)
3302
3302
// / that are suppressed here, but that information is recorded in the
3303
3303
// / conditional suppressed protocols of the corresponding `GenericContext`.
3304
3304
const SuppressibleProtocolSet &
3305
- getSuppresssedProtocols () const {
3305
+ getSuppressedProtocols () const {
3306
3306
assert (this ->hasSuppressibleProtocols ());
3307
3307
return
3308
3308
*this ->template getTrailingObjects <SuppressibleProtocolSet>();
@@ -4458,7 +4458,7 @@ class swift_ptrauth_struct_context_descriptor(ClassDescriptor)
4458
4458
// / that are suppressed here, but that information is recorded in the
4459
4459
// / conditional suppressed protocols of the corresponding `GenericContext`.
4460
4460
const SuppressibleProtocolSet &
4461
- getSuppresssedProtocols () const {
4461
+ getSuppressedProtocols () const {
4462
4462
assert (this ->hasSuppressibleProtocols ());
4463
4463
return
4464
4464
*this ->template getTrailingObjects <SuppressibleProtocolSet>();
@@ -4616,7 +4616,7 @@ class swift_ptrauth_struct_context_descriptor(StructDescriptor)
4616
4616
// / that are suppressed here, but that information is recorded in the
4617
4617
// / conditional suppressed protocols of the corresponding `GenericContext`.
4618
4618
const SuppressibleProtocolSet &
4619
- getSuppresssedProtocols () const {
4619
+ getSuppressedProtocols () const {
4620
4620
assert (this ->hasSuppressibleProtocols ());
4621
4621
return
4622
4622
*this ->template getTrailingObjects <SuppressibleProtocolSet>();
@@ -4777,7 +4777,7 @@ class swift_ptrauth_struct_context_descriptor(EnumDescriptor)
4777
4777
// / that are suppressed here, but that information is recorded in the
4778
4778
// / conditional suppressed protocols of the corresponding `GenericContext`.
4779
4779
const SuppressibleProtocolSet &
4780
- getSuppresssedProtocols () const {
4780
+ getSuppressedProtocols () const {
4781
4781
assert (this ->hasSuppressibleProtocols ());
4782
4782
return
4783
4783
*this ->template getTrailingObjects <SuppressibleProtocolSet>();
@@ -4834,23 +4834,23 @@ TargetContextDescriptor<Runtime>::getGenericContext() const {
4834
4834
4835
4835
template <typename Runtime>
4836
4836
inline const SuppressibleProtocolSet *
4837
- TargetContextDescriptor<Runtime>::getSuppresssedProtocols () const {
4837
+ TargetContextDescriptor<Runtime>::getSuppressedProtocols () const {
4838
4838
if (!this ->hasSuppressibleProtocols ())
4839
4839
return nullptr ;
4840
4840
4841
4841
switch (getKind ()) {
4842
4842
case ContextDescriptorKind::Class:
4843
4843
return &llvm::cast<TargetClassDescriptor<Runtime>>(this )
4844
- ->getSuppresssedProtocols ();
4844
+ ->getSuppressedProtocols ();
4845
4845
case ContextDescriptorKind::Enum:
4846
4846
return &llvm::cast<TargetEnumDescriptor<Runtime>>(this )
4847
- ->getSuppresssedProtocols ();
4847
+ ->getSuppressedProtocols ();
4848
4848
case ContextDescriptorKind::Struct:
4849
4849
return &llvm::cast<TargetStructDescriptor<Runtime>>(this )
4850
- ->getSuppresssedProtocols ();
4850
+ ->getSuppressedProtocols ();
4851
4851
case ContextDescriptorKind::OpaqueType:
4852
4852
return &llvm::cast<TargetOpaqueTypeDescriptor<Runtime>>(this )
4853
- ->getSuppresssedProtocols ();
4853
+ ->getSuppressedProtocols ();
4854
4854
default :
4855
4855
// We don't know about this kind of descriptor.
4856
4856
return nullptr ;
0 commit comments