[Lldb-commits] [lldb] r174074 - Making sure a Pythonless build of LLDB works by #ifdef-ing out formatters code.

Enrico Granata egranata at apple.com
Thu Jan 31 10:24:22 PST 2013


Author: enrico
Date: Thu Jan 31 12:24:22 2013
New Revision: 174074

URL: http://llvm.org/viewvc/llvm-project?rev=174074&view=rev
Log:
Making sure a Pythonless build of LLDB works by #ifdef-ing out formatters code.

Modified:
    lldb/trunk/source/DataFormatters/TypeCategory.cpp

Modified: lldb/trunk/source/DataFormatters/TypeCategory.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/TypeCategory.cpp?rev=174074&r1=174073&r2=174074&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/TypeCategory.cpp (original)
+++ lldb/trunk/source/DataFormatters/TypeCategory.cpp Thu Jan 31 12:24:22 2013
@@ -349,6 +349,7 @@ TypeCategoryImpl::GetTypeNameSpecifierFo
         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::GetTypeNameSpecifierFo
     else
         return m_regex_synth_nav->GetTypeNameSpecifierAtIndex(index - m_synth_nav->GetCount());
 }
+#endif
 
 void
 TypeCategoryImpl::Enable (bool value, uint32_t position)





More information about the lldb-commits mailing list