summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/clangd/CodeComplete.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/CodeComplete.cpp b/clang-tools-extra/clangd/CodeComplete.cpp
index 27f57f2c379..3bfde6136de 100644
--- a/clang-tools-extra/clangd/CodeComplete.cpp
+++ b/clang-tools-extra/clangd/CodeComplete.cpp
@@ -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.
OpenPOWER on IntegriCloud