We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8be4df4 commit 3a57546Copy full SHA for 3a57546
lib/Index/Index.cpp
@@ -49,6 +49,8 @@ printArtificialName(const swift::ValueDecl *VD, llvm::raw_ostream &OS) {
49
case AccessorKind::IsMutableAddressor:
50
return true;
51
}
52
+
53
+ llvm_unreachable("Unhandled AccessorKind in switch.");
54
55
56
static bool printDisplayName(const swift::ValueDecl *D, llvm::raw_ostream &OS) {
@@ -595,6 +597,8 @@ static SymbolSubKind getSubKindForAccessor(AccessorKind AK) {
595
597
case AccessorKind::IsMaterializeForSet:
596
598
llvm_unreachable("unexpected MaterializeForSet");
599
600
601
602
603
604
bool IndexSwiftASTWalker::reportPseudoAccessor(AbstractStorageDecl *D,
0 commit comments