diff options
Diffstat (limited to 'lldb/source')
-rw-r--r-- | lldb/source/DataFormatters/DataVisualization.cpp | 7 | ||||
-rw-r--r-- | lldb/source/DataFormatters/FormatManager.cpp | 14 |
2 files changed, 0 insertions, 21 deletions
diff --git a/lldb/source/DataFormatters/DataVisualization.cpp b/lldb/source/DataFormatters/DataVisualization.cpp index 300ce2a08ba..390df54b50f 100644 --- a/lldb/source/DataFormatters/DataVisualization.cpp +++ b/lldb/source/DataFormatters/DataVisualization.cpp @@ -58,13 +58,6 @@ DataVisualization::GetSyntheticChildren(ValueObject &valobj, } #endif -#ifndef LLDB_DISABLE_PYTHON -lldb::SyntheticChildrenSP DataVisualization::GetSyntheticChildrenForType( - lldb::TypeNameSpecifierImplSP type_sp) { - return GetFormatManager().GetSyntheticChildrenForType(type_sp); -} -#endif - lldb::TypeFilterImplSP DataVisualization::GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp) { return GetFormatManager().GetFilterForType(type_sp); diff --git a/lldb/source/DataFormatters/FormatManager.cpp b/lldb/source/DataFormatters/FormatManager.cpp index 0dcc0244e3f..a0a63b3ccb9 100644 --- a/lldb/source/DataFormatters/FormatManager.cpp +++ b/lldb/source/DataFormatters/FormatManager.cpp @@ -381,20 +381,6 @@ FormatManager::GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp) { } #endif -#ifndef LLDB_DISABLE_PYTHON -lldb::SyntheticChildrenSP FormatManager::GetSyntheticChildrenForType( - lldb::TypeNameSpecifierImplSP type_sp) { - if (!type_sp) - return lldb::SyntheticChildrenSP(); - lldb::TypeFilterImplSP filter_sp = GetFilterForType(type_sp); - lldb::ScriptedSyntheticChildrenSP synth_sp = GetSyntheticForType(type_sp); - if (filter_sp->GetRevision() > synth_sp->GetRevision()) - return lldb::SyntheticChildrenSP(filter_sp.get()); - else - return lldb::SyntheticChildrenSP(synth_sp.get()); -} -#endif - lldb::TypeValidatorImplSP FormatManager::GetValidatorForType(lldb::TypeNameSpecifierImplSP type_sp) { if (!type_sp) |