summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ValueObject.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/ValueObject.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/ValueObject.cpp')
-rw-r--r--lldb/source/Core/ValueObject.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Core/ValueObject.cpp b/lldb/source/Core/ValueObject.cpp
index 6b1a6c59063..a7cad8483c5 100644
--- a/lldb/source/Core/ValueObject.cpp
+++ b/lldb/source/Core/ValueObject.cpp
@@ -2797,6 +2797,7 @@ ValueObject::GetValueForExpressionPath_Impl(const char* expression_cstr,
}
expression_cstr++; // skip the -
}
+ LLVM_FALLTHROUGH;
case '.': // or fallthrough from ->
{
if (options.m_check_dot_vs_arrow_syntax && *expression_cstr == '.' &&
OpenPOWER on IntegriCloud