summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/FormatClasses.cpp
diff options
context:
space:
mode:
authorEnrico Granata <granata.enrico@gmail.com>2011-08-17 22:13:59 +0000
committerEnrico Granata <granata.enrico@gmail.com>2011-08-17 22:13:59 +0000
commitc482a1929490ca2bcba5060d99a06b06bf3edac9 (patch)
treeb8a3e3d862f8cd3c068c386449e2fb032bd3ae0e /lldb/source/Core/FormatClasses.cpp
parent1a87fcb9ba5189dc1702140eb3e152d6aa1d66e5 (diff)
downloadbcm5719-llvm-c482a1929490ca2bcba5060d99a06b06bf3edac9.tar.gz
bcm5719-llvm-c482a1929490ca2bcba5060d99a06b06bf3edac9.zip
First round of code cleanups:
- all instances of "vobj" have been renamed to "valobj" - class Debugger::Formatting has been renamed to DataVisualization (defined in FormatManager.h/cpp) The interface to this class has not changed - FormatCategory now uses ConstString's as keys to the navigators instead of repeatedly casting from ConstString to const char* and back all the time Next step is making the same happen for categories themselves - category gnu-libstdc++ is defined in the constructor for a FormatManager The source code for it is defined in gnu_libstdcpp.py, drawn from examples/synthetic at compile time All references to previous 'osxcpp' name have been removed from both code and file names Functional changes: - the name of the option to use a summary string for 'type summary add' has changed from the previous --format-string to the new --summary-string. It is expected that the short option will change from -f to -s, and -s for --python-script will become -o llvm-svn: 137886
Diffstat (limited to 'lldb/source/Core/FormatClasses.cpp')
-rw-r--r--lldb/source/Core/FormatClasses.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Core/FormatClasses.cpp b/lldb/source/Core/FormatClasses.cpp
index 843b9862ee4..9a7b32cd63f 100644
--- a/lldb/source/Core/FormatClasses.cpp
+++ b/lldb/source/Core/FormatClasses.cpp
@@ -69,15 +69,15 @@ StringSummaryFormat::FormatObject(lldb::ValueObjectSP object)
if (m_show_members_oneliner)
{
- ValueObjectSP synth_vobj = object->GetSyntheticValue(lldb::eUseSyntheticFilter);
- const uint32_t num_children = synth_vobj->GetNumChildren();
+ ValueObjectSP synth_valobj = object->GetSyntheticValue(lldb::eUseSyntheticFilter);
+ const uint32_t num_children = synth_valobj->GetNumChildren();
if (num_children)
{
s.PutChar('(');
for (uint32_t idx=0; idx<num_children; ++idx)
{
- lldb::ValueObjectSP child_sp(synth_vobj->GetChildAtIndex(idx, true));
+ lldb::ValueObjectSP child_sp(synth_valobj->GetChildAtIndex(idx, true));
if (child_sp.get())
{
if (idx)
OpenPOWER on IntegriCloud