[clang-tools-extra] r317083 - Add LLVM_FALLTHROUGH to silence warning. NFCI.
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 1 02:22:03 PDT 2017
Author: rksimon
Date: Wed Nov 1 02:22:03 2017
New Revision: 317083
URL: http://llvm.org/viewvc/llvm-project?rev=317083&view=rev
Log:
Add LLVM_FALLTHROUGH to silence warning. NFCI.
Modified:
clang-tools-extra/trunk/clangd/ClangdUnit.cpp
Modified: clang-tools-extra/trunk/clangd/ClangdUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/ClangdUnit.cpp?rev=317083&r1=317082&r2=317083&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/ClangdUnit.cpp (original)
+++ clang-tools-extra/trunk/clangd/ClangdUnit.cpp Wed Nov 1 02:22:03 2017
@@ -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.
More information about the cfe-commits
mailing list