File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ static StringRef getAttrName(DeclAttrKind Kind) {
20
20
case DAK_Count:
21
21
llvm_unreachable (" unrecognized attribute kind." );
22
22
}
23
+ llvm_unreachable (" covered switch" );
23
24
}
24
25
} // End of anonymous namespace.
25
26
@@ -505,6 +506,7 @@ bool SDKNodeDeclType::isConformingTo(swift::ide::api::KnownProtocolKind Kind) co
505
506
Conformances.end ();
506
507
#include " swift/IDE/DigesterEnums.def"
507
508
}
509
+ llvm_unreachable (" covered switch" );
508
510
}
509
511
510
512
StringRef SDKNodeDeclAbstractFunc::getTypeRoleDescription (SDKContext &Ctx,
@@ -1318,6 +1320,7 @@ case SDKNodeKind::X: \
1318
1320
break ;
1319
1321
#include " swift/IDE/DigesterEnums.def"
1320
1322
}
1323
+ llvm_unreachable (" covered switch" );
1321
1324
}
1322
1325
1323
1326
// Recursively construct a node that represents a type, for instance,
You can’t perform that action at this time.
0 commit comments