Skip to content

Commit b6a79b5

Browse files
committed
[SourceKit] Don't handle OperationKind::all
1 parent 67a2fe4 commit b6a79b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/SourceKit/tools/sourcekitd/lib/API/Requests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3191,8 +3191,8 @@ static Optional<UIdent> getUIDForOperationKind(trace::OperationKind OpKind) {
31913191
return CompileOperationIndexSource;
31923192
case trace::OperationKind::CodeCompletion:
31933193
return CompileOperationCodeCompletion;
3194-
case trace::OperationKind::All:
3195-
return None;
3194+
default:
3195+
llvm_unreachable("Unknown operation kind");
31963196
}
31973197
}
31983198

0 commit comments

Comments
 (0)