[Lldb-commits] [lldb] r193092 - Get rid of the FooStructSynth, it was a testing thing I put in and forgot to remove

Enrico Granata egranata at apple.com
Mon Oct 21 10:29:51 PDT 2013


Author: enrico
Date: Mon Oct 21 12:29:51 2013
New Revision: 193092

URL: http://llvm.org/viewvc/llvm-project?rev=193092&view=rev
Log:
Get rid of the FooStructSynth, it was a testing thing I put in and forgot to remove
Hopefully nobody had a struct Foo in their app:-)

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

Modified: lldb/trunk/source/DataFormatters/FormatManager.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/FormatManager.cpp?rev=193092&r1=193091&r2=193092&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/FormatManager.cpp (original)
+++ lldb/trunk/source/DataFormatters/FormatManager.cpp Mon Oct 21 12:29:51 2013
@@ -801,12 +801,6 @@ FormatManager::LoadLibcxxFormatters()
 #endif
 }
 
-static SyntheticChildrenFrontEnd*
-FooStructSynth (CXXSyntheticChildren*, lldb::ValueObjectSP)
-{
-    return NULL;
-}
-
 void
 FormatManager::LoadSystemFormatters()
 {
@@ -839,11 +833,7 @@ FormatManager::LoadSystemFormatters()
     sys_category_sp->GetSummaryNavigator()->Add(ConstString("char *"), string_format);
     sys_category_sp->GetSummaryNavigator()->Add(ConstString("unsigned char *"), string_format);
     sys_category_sp->GetRegexSummaryNavigator()->Add(any_size_char_arr, string_array_format);
-    
-#ifndef LLDB_DISABLE_PYTHON
-    AddCXXSynthetic(sys_category_sp, FooStructSynth, "Foo synth", ConstString("Foo"), ScriptedSyntheticChildren::Flags(), false);
-#endif
-    
+
     lldb::TypeSummaryImplSP ostype_summary(new StringSummaryFormat(TypeSummaryImpl::Flags().SetCascades(false)
                                                                    .SetSkipPointers(true)
                                                                    .SetSkipReferences(true)





More information about the lldb-commits mailing list