aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-11-01 09:22:03 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-11-01 09:22:03 +0000
commit11b86dd1cb913fab7d7a9de7cef583f39e056ed6 (patch)
tree5e9f11fd387b9bf3fcc194d463e23251aaa81e1f
parente64c916212cae1e5c207ef8f07573febb8710632 (diff)
Add LLVM_FALLTHROUGH to silence warning. NFCI.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@317083 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--clangd/ClangdUnit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clangd/ClangdUnit.cpp b/clangd/ClangdUnit.cpp
index 1a863394..53170a58 100644
--- a/clangd/ClangdUnit.cpp
+++ b/clangd/ClangdUnit.cpp
@@ -529,7 +529,7 @@ private:
// the code-completion string, typically a keyword or the name of
// a declarator or macro.
Item.filterText = Chunk.Text;
- // Note intentional fallthrough here.
+ LLVM_FALLTHROUGH;
case CodeCompletionString::CK_Text:
// A piece of text that should be placed in the buffer,
// e.g., parentheses or a comma in a function call.