[Lldb-commits] [lldb] r289000 - Fix an unannotated fallthrough that was causing a warning.

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 7 15:52:27 PST 2016


Author: gclayton
Date: Wed Dec  7 17:52:27 2016
New Revision: 289000

URL: http://llvm.org/viewvc/llvm-project?rev=289000&view=rev
Log:
Fix an unannotated fallthrough that was causing a warning.

Modified:
    lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp

Modified: lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp?rev=289000&r1=288999&r2=289000&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp (original)
+++ lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp Wed Dec  7 17:52:27 2016
@@ -55,7 +55,8 @@ bool registerRSDefaultTargetOpts(clang::
     proto.Triple = "i686--linux-android";
     proto.CPU = "atom";
     proto.Features.push_back("+long64");
-  // Fallthrough for common x86 family features
+    // Fallthrough for common x86 family features
+    LLVM_FALLTHROUGH;
   case llvm::Triple::ArchType::x86_64:
     proto.Features.push_back("+mmx");
     proto.Features.push_back("+sse");




More information about the lldb-commits mailing list