mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove unused method isOptionSetDecl(...).
Last usage removed in 31f583f164
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user