[clangd] Fix warning after fully covered enum switch. NFC.

By adding llvm_unreachable.

llvm-svn: 332233
This commit is contained in:
Ilya Biryukov 2018-05-14 11:47:30 +00:00
parent c370f26251
commit a6556e26ff
1 changed files with 1 additions and 0 deletions

View File

@ -828,6 +828,7 @@ bool allowIndex(CodeCompletionContext &CC) {
case NestedNameSpecifier::Identifier:
return false;
}
llvm_unreachable("invalid NestedNameSpecifier kind");
}
} // namespace