diff options
author | Davide Italiano <davide@freebsd.org> | 2019-03-15 00:45:57 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2019-03-15 00:45:57 +0000 |
commit | 71560b5e2bfd39dc1f290cc18549bf0b7dbe7c5d (patch) | |
tree | 27a7fee76ba1351af44789a144bb2bc6b461b98c /lldb/source/DataFormatters/FormatManager.cpp | |
parent | 5bcca9ffd167a50dafa2c3958b36e498ee71ad68 (diff) | |
download | bcm5719-llvm-71560b5e2bfd39dc1f290cc18549bf0b7dbe7c5d.tar.gz bcm5719-llvm-71560b5e2bfd39dc1f290cc18549bf0b7dbe7c5d.zip |
[DataFormatters] Remove LLDB_DISABLE_PYTHON from FormatManager.
And DataVisualization. One step closer.
llvm-svn: 356225
Diffstat (limited to 'lldb/source/DataFormatters/FormatManager.cpp')
-rw-r--r-- | lldb/source/DataFormatters/FormatManager.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lldb/source/DataFormatters/FormatManager.cpp b/lldb/source/DataFormatters/FormatManager.cpp index a0a63b3ccb9..40d6407eade 100644 --- a/lldb/source/DataFormatters/FormatManager.cpp +++ b/lldb/source/DataFormatters/FormatManager.cpp @@ -354,7 +354,6 @@ FormatManager::GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp) { return filter_chosen_sp; } -#ifndef LLDB_DISABLE_PYTHON lldb::ScriptedSyntheticChildrenSP FormatManager::GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp) { if (!type_sp) @@ -379,7 +378,6 @@ FormatManager::GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp) { } return synth_chosen_sp; } -#endif lldb::TypeValidatorImplSP FormatManager::GetValidatorForType(lldb::TypeNameSpecifierImplSP type_sp) { @@ -766,7 +764,6 @@ FormatManager::GetSummaryFormat(ValueObject &valobj, return retval; } -#ifndef LLDB_DISABLE_PYTHON lldb::SyntheticChildrenSP FormatManager::GetHardcodedSyntheticChildren(FormattersMatchData &match_data) { SyntheticChildrenSP retval_sp; @@ -845,7 +842,6 @@ FormatManager::GetSyntheticChildren(ValueObject &valobj, m_format_cache.GetCacheHits(), m_format_cache.GetCacheMisses()); return retval; } -#endif lldb::TypeValidatorImplSP FormatManager::GetValidator(ValueObject &valobj, @@ -994,14 +990,12 @@ void FormatManager::LoadSystemFormatters() { sys_category_sp->GetTypeSummariesContainer()->Add(ConstString("OSType"), ostype_summary); -#ifndef LLDB_DISABLE_PYTHON TypeFormatImpl::Flags fourchar_flags; fourchar_flags.SetCascades(true).SetSkipPointers(true).SetSkipReferences( true); AddFormat(sys_category_sp, lldb::eFormatOSType, ConstString("FourCharCode"), fourchar_flags); -#endif } void FormatManager::LoadVectorFormatters() { |