Make a synthetic children provider for the ObjC Class type

llvm-svn: 180588
This commit is contained in:
Enrico Granata
2013-04-26 00:59:02 +00:00
parent d813420816
commit c76b97bcce
3 changed files with 57 additions and 0 deletions

View File

@@ -770,6 +770,11 @@ FormatManager::LoadObjCFormatters()
AddCXXSummary(objc_category_sp, lldb_private::formatters::ObjCSELSummaryProvider<true>, "SEL summary provider", ConstString("SEL *"), objc_flags);
AddCXXSummary(objc_category_sp, lldb_private::formatters::ObjCClassSummaryProvider, "Class summary provider", ConstString("Class"), objc_flags);
SyntheticChildren::Flags class_synth_flags;
class_synth_flags.SetCascades(true).SetSkipPointers(false).SetSkipReferences(false);
AddCXXSynthetic(objc_category_sp, lldb_private::formatters::ObjCClassSyntheticFrontEndCreator, "Class synthetic children", ConstString("Class"), class_synth_flags);
#endif // LLDB_DISABLE_PYTHON
objc_flags.SetSkipPointers(false);