Skip to content

Commit edc26bb

Browse files
author
Sasha Krassovsky
committed
Fix warning in swift-api-digester
1 parent f2cd4d2 commit edc26bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/swift-api-digester/ModuleAnalyzerNodes.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ StringRef SDKNodeType::getTypeRoleDescription() const {
363363
case SDKNodeKind::TypeWitness:
364364
return "type witness type";
365365
}
366+
llvm_unreachable("Unhandled SDKNodeKind in switch");
366367
}
367368

368369
SDKNode *SDKNodeRoot::getInstance(SDKContext &Ctx) {

0 commit comments

Comments
 (0)