[PATCH] D67860: [LLDB] Use LLVM_FALLTHROUGH instead of a custom comment

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 21 12:09:08 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL372484: [LLDB] Use LLVM_FALLTHROUGH instead of a custom comment (authored by mstorsjo, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D67860?vs=221105&id=221194#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67860/new/

https://reviews.llvm.org/D67860

Files:
  lldb/trunk/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp


Index: lldb/trunk/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
===================================================================
--- lldb/trunk/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
+++ lldb/trunk/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
@@ -479,7 +479,7 @@
       return ExceptionResult::BreakInDebugger;
     }
 
-    // Fall through
+    LLVM_FALLTHROUGH;
   default:
     LLDB_LOG(log,
              "Debugger thread reported exception {0:x} at address {1:x} "


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67860.221194.patch
Type: text/x-patch
Size: 532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190921/7c130e29/attachment.bin>


More information about the llvm-commits mailing list