forked from OSchip/llvm-project
[DataFormatters] Delete unused code. Not even exposed in the API.
I stumbled upon this while removing LLDB_DISABLE_PYTHON when not needed. llvm-svn: 356176
This commit is contained in:
parent
43570a0a62
commit
1dbbf2de33
|
@ -42,11 +42,6 @@ public:
|
|||
static lldb::TypeSummaryImplSP
|
||||
GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp);
|
||||
|
||||
#ifndef LLDB_DISABLE_PYTHON
|
||||
static lldb::SyntheticChildrenSP
|
||||
GetSyntheticChildrenForType(lldb::TypeNameSpecifierImplSP type_sp);
|
||||
#endif
|
||||
|
||||
static lldb::TypeFilterImplSP
|
||||
GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp);
|
||||
|
||||
|
|
|
@ -129,11 +129,6 @@ public:
|
|||
GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp);
|
||||
#endif
|
||||
|
||||
#ifndef LLDB_DISABLE_PYTHON
|
||||
lldb::SyntheticChildrenSP
|
||||
GetSyntheticChildrenForType(lldb::TypeNameSpecifierImplSP type_sp);
|
||||
#endif
|
||||
|
||||
lldb::TypeValidatorImplSP
|
||||
GetValidatorForType(lldb::TypeNameSpecifierImplSP type_sp);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue