[LLDB] Use LLVM_FALLTHROUGH instead of a custom comment
authorMartin Storsjo <martin@martin.st>
Sat, 21 Sep 2019 19:09:54 +0000 (19:09 +0000)
committerMartin Storsjo <martin@martin.st>
Sat, 21 Sep 2019 19:09:54 +0000 (19:09 +0000)
This fixes a warning when built with Clang in MinGW mode.

Differential Revision: https://reviews.llvm.org/D67860

llvm-svn: 372484

lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp

index 71ad57c45c779b7f19efc9a271d415818d916932..e5171f2b7eb657e296fd89dc7814a8c2edd37b82 100644 (file)
@@ -479,7 +479,7 @@ NativeProcessWindows::OnDebugException(bool first_chance,
       return ExceptionResult::BreakInDebugger;
     }
 
-    // Fall through
+    LLVM_FALLTHROUGH;
   default:
     LLDB_LOG(log,
              "Debugger thread reported exception {0:x} at address {1:x} "