Remove unused method isOptionSetDecl(...).

Last usage removed in 31f583f164
This commit is contained in:
practicalswift
2016-09-16 18:37:42 +02:00
parent 244f39f078
commit ad02d73ee6

View File

@@ -3066,16 +3066,6 @@ public:
return false;
}
bool isOptionSetDecl(NominalTypeDecl *D) {
auto optionSetType = dyn_cast<ProtocolDecl>(Ctx.getOptionSetDecl());
if (!optionSetType)
return false;
SmallVector<ProtocolConformance *, 1> conformances;
return D->lookupConformance(CurrDeclContext->getParentModule(),
optionSetType, conformances);
}
void getTupleExprCompletions(TupleType *ExprType) {
unsigned Index = 0;
for (auto TupleElt : ExprType->getElements()) {