[Lldb-commits] [lldb] r321123 - Replace an accidentally added "break" with an LLVM_FALLTHROUGH.

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 19 15:16:38 PST 2017


Author: adrian
Date: Tue Dec 19 15:16:38 2017
New Revision: 321123

URL: http://llvm.org/viewvc/llvm-project?rev=321123&view=rev
Log:
Replace an accidentally added "break" with an LLVM_FALLTHROUGH.

Thanks to Greg Clayton for catchting this!

Modified:
    lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp

Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp?rev=321123&r1=321122&r2=321123&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp Tue Dec 19 15:16:38 2017
@@ -900,7 +900,7 @@ bool CMICmnLLDBDebuggerHandleEvents::Han
     bOk = HandleProcessEventStateStopped(vEvent, bShouldBrk);
     if (bShouldBrk)
       break;
-    break;
+    LLVM_FALLTHROUGH;
   case lldb::eStateCrashed:
   case lldb::eStateSuspended:
     pEventType = "eStateSuspended";




More information about the lldb-commits mailing list