[clangd] Fix clang -Wimplicit-fallthrough

llvm-svn: 345952
This commit is contained in:
Fangrui Song 2018-11-02 04:23:50 +00:00
parent e446f04cb1
commit a3ed05b06b
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ struct CompletionCandidate {
case index::SymbolKind::InstanceMethod:
case index::SymbolKind::StaticMethod:
assert(false && "Don't expect members from index in code completion");
// fall through
LLVM_FALLTHROUGH;
case index::SymbolKind::Function:
// We can't group overloads together that need different #includes.
// This could break #include insertion.