summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectFrame.cpp
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2017-06-19 06:57:54 +0000
committerSylvestre Ledru <sylvestre@debian.org>2017-06-19 06:57:54 +0000
commitf955efc01be806f8a8813c2b50b7a693db66c0de (patch)
tree0b7ff87bf5e77e55ec85571004b104f5f84038c8 /lldb/source/Commands/CommandObjectFrame.cpp
parent35b2a18eb96d0a38b8a9f6faaed6ecfe9fc70c8e (diff)
downloadbcm5719-llvm-f955efc01be806f8a8813c2b50b7a693db66c0de.tar.gz
bcm5719-llvm-f955efc01be806f8a8813c2b50b7a693db66c0de.zip
Fix a -Wmisleading-indentation warning
llvm-svn: 305664
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectFrame.cpp46
1 files changed, 22 insertions, 24 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp
index 8b981a93ad7..9e1805f2eed 100644
--- a/lldb/source/Commands/CommandObjectFrame.cpp
+++ b/lldb/source/Commands/CommandObjectFrame.cpp
@@ -655,32 +655,30 @@ protected:
if (num_variables > 0) {
for (size_t i = 0; i < num_variables; i++) {
var_sp = variable_list->GetVariableAtIndex(i);
- switch (var_sp->GetScope())
- {
- case eValueTypeVariableGlobal:
- if (!m_option_variable.show_globals)
- continue;
- break;
- case eValueTypeVariableStatic:
- if (!m_option_variable.show_globals)
- continue;
- break;
- case eValueTypeVariableArgument:
- if (!m_option_variable.show_args)
- continue;
- break;
- case eValueTypeVariableLocal:
- if (!m_option_variable.show_locals)
- continue;
- break;
- default:
+ switch (var_sp->GetScope()) {
+ case eValueTypeVariableGlobal:
+ if (!m_option_variable.show_globals)
+ continue;
+ break;
+ case eValueTypeVariableStatic:
+ if (!m_option_variable.show_globals)
+ continue;
+ break;
+ case eValueTypeVariableArgument:
+ if (!m_option_variable.show_args)
+ continue;
+ break;
+ case eValueTypeVariableLocal:
+ if (!m_option_variable.show_locals)
continue;
- break;
-
+ break;
+ default:
+ continue;
+ break;
}
- std::string scope_string;
- if (m_option_variable.show_scope)
- scope_string = GetScopeString(var_sp).str();
+ std::string scope_string;
+ if (m_option_variable.show_scope)
+ scope_string = GetScopeString(var_sp).str();
// Use the variable object code to make sure we are
// using the same APIs as the public API will be
OpenPOWER on IntegriCloud