@@ -273,11 +273,9 @@ const char *StackFrame::Disassemble(bool enable_rich_annotations) {
273273
274274 ExecutionContext exe_ctx (shared_from_this ());
275275 if (Target *target = exe_ctx.GetTargetPtr ()) {
276- Disassembler::Disassemble (target->GetDebugger (),
277- target->GetArchitecture (),
278- *this ,
279- m_disassembly,
280- /* enable_rich_annotations=*/ enable_rich_annotations);
276+ Disassembler::Disassemble (
277+ target->GetDebugger (), target->GetArchitecture (), *this , m_disassembly,
278+ /* enable_rich_annotations=*/ enable_rich_annotations);
281279 }
282280
283281 return m_disassembly.Empty () ? nullptr : m_disassembly.GetData ();
@@ -445,10 +443,10 @@ VariableList *StackFrame::GetVariableList(bool get_file_globals,
445443 const bool get_child_variables = true ;
446444 const bool can_create = true ;
447445 const bool stop_if_child_block_is_inlined_function = true ;
448- frame_block->AppendBlockVariables (can_create, get_child_variables,
449- stop_if_child_block_is_inlined_function ,
450- [](Variable *v) { return true ; } ,
451- m_variable_list_sp.get ());
446+ frame_block->AppendBlockVariables (
447+ can_create, get_child_variables ,
448+ stop_if_child_block_is_inlined_function ,
449+ [](Variable *v) { return true ; }, m_variable_list_sp.get ());
452450 }
453451 }
454452
@@ -1232,10 +1230,12 @@ StackFrame::GetValueObjectForFrameVariable(const VariableSP &variable_sp,
12321230 VariableList *var_list = GetVariableList (true , nullptr );
12331231 if (var_list) {
12341232 // Make sure the variable is a frame variable
1235- const uint32_t var_idx = var_list->FindIndexForVariable (variable_sp.get ());
1233+ const uint32_t var_idx =
1234+ var_list->FindIndexForVariable (variable_sp.get ());
12361235 const uint32_t num_variables = var_list->GetSize ();
12371236 if (var_idx < num_variables) {
1238- valobj_sp = m_variable_list_value_objects.GetValueObjectAtIndex (var_idx);
1237+ valobj_sp =
1238+ m_variable_list_value_objects.GetValueObjectAtIndex (var_idx);
12391239 if (!valobj_sp) {
12401240 if (m_variable_list_value_objects.GetSize () < num_variables)
12411241 m_variable_list_value_objects.Resize (num_variables);
@@ -1769,11 +1769,9 @@ lldb::ValueObjectSP DoGuessValueAt(StackFrame &frame, ConstString reg,
17691769
17701770 if (clobbered_reg_matcher (operands[0 ])) {
17711771 origin_operand = &operands[1 ];
1772- }
1773- else if (clobbered_reg_matcher (operands[1 ])) {
1772+ } else if (clobbered_reg_matcher (operands[1 ])) {
17741773 origin_operand = &operands[0 ];
1775- }
1776- else {
1774+ } else {
17771775 continue ;
17781776 }
17791777
@@ -1799,8 +1797,7 @@ lldb::ValueObjectSP DoGuessValueAt(StackFrame &frame, ConstString reg,
17991797 if (!source_path) {
18001798 continue ;
18011799 }
1802- source_path =
1803- GetValueForDereferincingOffset (frame, source_path, offset);
1800+ source_path = GetValueForDereferincingOffset (frame, source_path, offset);
18041801 }
18051802
18061803 if (source_path) {
@@ -1810,7 +1807,7 @@ lldb::ValueObjectSP DoGuessValueAt(StackFrame &frame, ConstString reg,
18101807
18111808 return ValueObjectSP ();
18121809}
1813- }
1810+ } // namespace
18141811
18151812lldb::ValueObjectSP StackFrame::GuessValueForRegisterAndOffset (ConstString reg,
18161813 int64_t offset) {
0 commit comments