Refactoring of ValueObject::DumpValueObject and 'frame variable', 'target variable' commands to use an Options object instead of passing an ever-increasing number of arguments to the DumpValueObject() method, with the ultimate aim of making that call private implementation
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137622 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBValue.cpp b/source/API/SBValue.cpp
index a7bc91d..a58957b 100644
--- a/source/API/SBValue.cpp
+++ b/source/API/SBValue.cpp
@@ -925,7 +925,7 @@
{
if (m_opaque_sp)
{
- uint32_t ptr_depth = 0;
+ /*uint32_t ptr_depth = 0;
uint32_t curr_depth = 0;
uint32_t max_depth = UINT32_MAX;
bool show_types = false;
@@ -936,21 +936,9 @@
bool flat_output = false;
bool use_synthetic = true;
uint32_t no_summary_depth = 0;
- bool ignore_cap = false;
+ bool ignore_cap = false;*/
ValueObject::DumpValueObject (description.ref(),
- m_opaque_sp.get(),
- m_opaque_sp->GetName().GetCString(),
- ptr_depth,
- curr_depth,
- max_depth,
- show_types, show_location,
- use_objc,
- use_dynamic,
- use_synthetic,
- scope_already_checked,
- flat_output,
- no_summary_depth,
- ignore_cap);
+ m_opaque_sp.get());
}
else
description.Printf ("No value");