diff options
author | Davide Italiano <davide@freebsd.org> | 2019-03-14 17:41:29 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2019-03-14 17:41:29 +0000 |
commit | 1dbbf2de330762ff2951d695432bf01e9ed52032 (patch) | |
tree | 4dd3c2e66b7cfc84707b2dfc0eba24f88f04b934 /lldb/source/DataFormatters/FormatManager.cpp | |
parent | 43570a0a62b2dac118e8c970bc23ecba68acd32a (diff) | |
download | bcm5719-llvm-1dbbf2de330762ff2951d695432bf01e9ed52032.tar.gz bcm5719-llvm-1dbbf2de330762ff2951d695432bf01e9ed52032.zip |
[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
Diffstat (limited to 'lldb/source/DataFormatters/FormatManager.cpp')
-rw-r--r-- | lldb/source/DataFormatters/FormatManager.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
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) |