[Lldb-commits] [lldb] r116463 - /lldb/trunk/source/Target/Process.cpp

Johnny Chen johnny.chen at apple.com
Wed Oct 13 17:54:32 PDT 2010


Author: johnny
Date: Wed Oct 13 19:54:32 2010
New Revision: 116463

URL: http://llvm.org/viewvc/llvm-project?rev=116463&view=rev
Log:
Fix a regression introduced in r116430 with the added 'break' statement,
which broke test/breakpoint_locations.

Add a comment about intentional fall-through in the case statement.

Modified:
    lldb/trunk/source/Target/Process.cpp

Modified: lldb/trunk/source/Target/Process.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Process.cpp?rev=116463&r1=116462&r2=116463&view=diff
==============================================================================
--- lldb/trunk/source/Target/Process.cpp (original)
+++ lldb/trunk/source/Target/Process.cpp Wed Oct 13 19:54:32 2010
@@ -1439,7 +1439,7 @@
                     {
                         case eVoteYes:
                             Process::ProcessEventData::SetRestartedInEvent (event_ptr, true);
-                            break;
+                            // Intentional fall-through here.
                         case eVoteNoOpinion:
                         case eVoteNo:
                             return_value = false;





More information about the lldb-commits mailing list