Skip to content

Commit 547e4e9

Browse files
authored
Merge pull request #25226 from compnerd/tools-be-silent
2 parents e53071e + 6cf8792 commit 547e4e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/swift-api-digester/ModuleAnalyzerNodes.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ static StringRef getAttrName(DeclAttrKind Kind) {
2020
case DAK_Count:
2121
llvm_unreachable("unrecognized attribute kind.");
2222
}
23+
llvm_unreachable("covered switch");
2324
}
2425
} // End of anonymous namespace.
2526

@@ -505,6 +506,7 @@ bool SDKNodeDeclType::isConformingTo(swift::ide::api::KnownProtocolKind Kind) co
505506
Conformances.end();
506507
#include "swift/IDE/DigesterEnums.def"
507508
}
509+
llvm_unreachable("covered switch");
508510
}
509511

510512
StringRef SDKNodeDeclAbstractFunc::getTypeRoleDescription(SDKContext &Ctx,
@@ -1318,6 +1320,7 @@ case SDKNodeKind::X: \
13181320
break;
13191321
#include "swift/IDE/DigesterEnums.def"
13201322
}
1323+
llvm_unreachable("covered switch");
13211324
}
13221325

13231326
// Recursively construct a node that represents a type, for instance,

0 commit comments

Comments
 (0)