mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[index] Remove unreachable materializeForSet case in indexer
We already had it marked unreachable in SourceKit, so lift that up into the libIndex and remove the unnecessary enum case.
This commit is contained in:
@@ -578,8 +578,6 @@ UIdent SwiftLangSupport::getUIDForSymbol(SymbolKind kind, SymbolSubKind subKind,
|
||||
return UID_FOR(AccessorWillSet);
|
||||
case SymbolSubKind::AccessorDidSet:
|
||||
return UID_FOR(AccessorDidSet);
|
||||
case SymbolSubKind::AccessorMaterializeForSet:
|
||||
llvm_unreachable("unexpected MaterializeForSet");
|
||||
case SymbolSubKind::AccessorAddressor:
|
||||
return UID_FOR(AccessorAddress);
|
||||
case SymbolSubKind::AccessorMutableAddressor:
|
||||
|
||||
Reference in New Issue
Block a user