forked from OSchip/llvm-project
[clangd] Fix warning after fully covered enum switch. NFC.
By adding llvm_unreachable. llvm-svn: 332233
This commit is contained in:
parent
c370f26251
commit
a6556e26ff
|
@ -828,6 +828,7 @@ bool allowIndex(CodeCompletionContext &CC) {
|
|||
case NestedNameSpecifier::Identifier:
|
||||
return false;
|
||||
}
|
||||
llvm_unreachable("invalid NestedNameSpecifier kind");
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
|
Loading…
Reference in New Issue