[AST] Eliminate the unused by ComputingInheritedProtocols in ProtocolDecl.

This commit is contained in:
Doug Gregor
2018-08-06 23:46:58 -07:00
parent 1247e5fb32
commit 09c46ad101
2 changed files with 1 additions and 7 deletions

View File

@@ -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;
}