Skip to content

Commit 63a61e8

Browse files
Merge pull request #4068 from practicalswift/unused-cpp-identifiers-ii
[gardening] Remove unused method isOptionSet(...)
2 parents 5cc6799 + 31f583f commit 63a61e8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/IDE/CodeCompletion.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3019,12 +3019,6 @@ class CompletionLookup final : public swift::VisibleDeclConsumer {
30193019
optionSetType, conformances);
30203020
}
30213021

3022-
bool isOptionSet(Type Ty) {
3023-
return Ty &&
3024-
Ty->getNominalOrBoundGenericNominal() &&
3025-
isOptionSetDecl(Ty->getNominalOrBoundGenericNominal());
3026-
}
3027-
30283022
void getTupleExprCompletions(TupleType *ExprType) {
30293023
unsigned Index = 0;
30303024
for (auto TupleElt : ExprType->getElements()) {

0 commit comments

Comments
 (0)