@@ -3170,7 +3170,7 @@ ProtocolDecl::ProtocolDecl(DeclContext *DC, SourceLoc ProtocolLoc,
3170
3170
Bits.ProtocolDecl .NumRequirementsInSignature = 0 ;
3171
3171
Bits.ProtocolDecl .HasMissingRequirements = false ;
3172
3172
Bits.ProtocolDecl .KnownProtocol = 0 ;
3173
- Bits.ProtocolDecl .ComputingInheritedProtocols = false ;
3173
+ Bits.ProtocolDecl .ComputingInheritedProtocols = false ;
3174
3174
}
3175
3175
3176
3176
llvm::TinyPtrVector<ProtocolDecl *>
@@ -3181,10 +3181,10 @@ ProtocolDecl::getInheritedProtocols() const {
3181
3181
// We shouldn't need this, but it shows up in recursive invocations.
3182
3182
if (!isRequirementSignatureComputed ()) {
3183
3183
SmallPtrSet<ProtocolDecl *, 4 > known;
3184
- if (Bits.ProtocolDecl .ComputingInheritedProtocols ) return result;
3184
+ if (Bits.ProtocolDecl .ComputingInheritedProtocols ) return result;
3185
3185
3186
- auto *self = const_cast <ProtocolDecl *>(this );
3187
- self->Bits .ProtocolDecl .ComputingInheritedProtocols = true ;
3186
+ auto *self = const_cast <ProtocolDecl *>(this );
3187
+ self->Bits .ProtocolDecl .ComputingInheritedProtocols = true ;
3188
3188
for (unsigned index : indices (getInherited ())) {
3189
3189
if (auto type = getInheritedType (index)) {
3190
3190
// Only protocols can appear in the inheritance clause
@@ -3200,7 +3200,7 @@ ProtocolDecl::getInheritedProtocols() const {
3200
3200
}
3201
3201
}
3202
3202
}
3203
- self->Bits .ProtocolDecl .ComputingInheritedProtocols = false ;
3203
+ self->Bits .ProtocolDecl .ComputingInheritedProtocols = false ;
3204
3204
return result;
3205
3205
}
3206
3206
0 commit comments