mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST] Eliminate the unused by ComputingInheritedProtocols in ProtocolDecl.
This commit is contained in:
@@ -3585,7 +3585,6 @@ ProtocolDecl::ProtocolDecl(DeclContext *DC, SourceLoc ProtocolLoc,
|
||||
Bits.ProtocolDecl.NumRequirementsInSignature = 0;
|
||||
Bits.ProtocolDecl.HasMissingRequirements = false;
|
||||
Bits.ProtocolDecl.KnownProtocol = 0;
|
||||
Bits.ProtocolDecl.ComputingInheritedProtocols = false;
|
||||
}
|
||||
|
||||
llvm::TinyPtrVector<ProtocolDecl *>
|
||||
@@ -3603,8 +3602,6 @@ ProtocolDecl::getInheritedProtocols() const {
|
||||
}
|
||||
}
|
||||
|
||||
// FIXME: ComputingInheritedProtocols is dynamically dead.
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user