summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Scalar.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/Core/Scalar.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/Core/Scalar.cpp')
-rw-r--r--lldb/source/Core/Scalar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Core/Scalar.cpp b/lldb/source/Core/Scalar.cpp
index 4120d3263be..5a1ad37819d 100644
--- a/lldb/source/Core/Scalar.cpp
+++ b/lldb/source/Core/Scalar.cpp
@@ -2630,6 +2630,7 @@ Scalar::ExtractBitfield (uint32_t bit_size,
case e_double:
result = SignedBits ((uint64_t )m_float.convertToDouble(), msbit, lsbit);
m_float = llvm::APFloat((double_t)result);
+ return true;
case e_long_double:
m_integer = m_float.bitcastToAPInt();
result = SignedBits (*m_integer.getRawData(), msbit, lsbit);
OpenPOWER on IntegriCloud