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.


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to