Making sure a Pythonless build of LLDB works by #ifdef-ing out formatters code.

llvm-svn: 174074
This commit is contained in:
Enrico Granata 2013-01-31 18:24:22 +00:00
parent c64108430f
commit 8471f0477b
1 changed files with 2 additions and 0 deletions

View File

@ -349,6 +349,7 @@ TypeCategoryImpl::GetTypeNameSpecifierForFilterAtIndex (size_t index)
return m_regex_filter_nav->GetTypeNameSpecifierAtIndex(index-m_filter_nav->GetCount());
}
#ifndef LLDB_DISABLE_PYTHON
TypeCategoryImpl::SynthNavigator::MapValueType
TypeCategoryImpl::GetSyntheticAtIndex (size_t index)
{
@ -366,6 +367,7 @@ TypeCategoryImpl::GetTypeNameSpecifierForSyntheticAtIndex (size_t index)
else
return m_regex_synth_nav->GetTypeNameSpecifierAtIndex(index - m_synth_nav->GetCount());
}
#endif
void
TypeCategoryImpl::Enable (bool value, uint32_t position)