[Lldb-commits] [lldb] r372484 - [LLDB] Use LLVM_FALLTHROUGH instead of a custom comment
Martin Storsjo via lldb-commits
lldb-commits at lists.llvm.org
Sat Sep 21 12:09:54 PDT 2019
Author: mstorsjo
Date: Sat Sep 21 12:09:54 2019
New Revision: 372484
URL: http://llvm.org/viewvc/llvm-project?rev=372484&view=rev
Log:
[LLDB] Use LLVM_FALLTHROUGH instead of a custom comment
This fixes a warning when built with Clang in MinGW mode.
Differential Revision: https://reviews.llvm.org/D67860
Modified:
lldb/trunk/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
Modified: lldb/trunk/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp?rev=372484&r1=372483&r2=372484&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp Sat Sep 21 12:09:54 2019
@@ -479,7 +479,7 @@ NativeProcessWindows::OnDebugException(b
return ExceptionResult::BreakInDebugger;
}
- // Fall through
+ LLVM_FALLTHROUGH;
default:
LLDB_LOG(log,
"Debugger thread reported exception {0:x} at address {1:x} "
More information about the lldb-commits
mailing list