summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2016-02-26 01:20:20 +0000
committerGreg Clayton <gclayton@apple.com>2016-02-26 01:20:20 +0000
commitcec91ef92169483fbcc85c78a65e00a6fda1c35b (patch)
tree98e18b90c6eef89526ef8ecd294b88409b2a2f57 /lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
parent5971f18133cbdece6012b3e0f54ae85877e4306f (diff)
downloadbcm5719-llvm-cec91ef92169483fbcc85c78a65e00a6fda1c35b.tar.gz
bcm5719-llvm-cec91ef92169483fbcc85c78a65e00a6fda1c35b.zip
Fix all of the unannotated switch cases to annotate the fall through or do the right thing and break.
llvm-svn: 261950
Diffstat (limited to 'lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp')
-rw-r--r--lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp b/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
index c17ab7bf06e..83c9247f468 100644
--- a/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
+++ b/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
@@ -635,8 +635,7 @@ PlatformFreeBSD::GetSoftwareBreakpointTrapOpcode (Target &target, BreakpointSite
return 0;
}
}
-
- // Fall through...
+ LLVM_FALLTHROUGH;
default:
return Platform::GetSoftwareBreakpointTrapOpcode(target, bp_site);
}
OpenPOWER on IntegriCloud