[Lldb-commits] [lldb] r356210 - [ObjCLanguage] Remove LLDB_DISABLE_PYTHON markers from the formatters.
Davide Italiano via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 14 15:13:00 PDT 2019
Author: davide
Date: Thu Mar 14 15:12:59 2019
New Revision: 356210
URL: http://llvm.org/viewvc/llvm-project?rev=356210&view=rev
Log:
[ObjCLanguage] Remove LLDB_DISABLE_PYTHON markers from the formatters.
Modified:
lldb/trunk/source/Plugins/Language/ObjC/ObjCLanguage.cpp
Modified: lldb/trunk/source/Plugins/Language/ObjC/ObjCLanguage.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Language/ObjC/ObjCLanguage.cpp?rev=356210&r1=356209&r2=356210&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Language/ObjC/ObjCLanguage.cpp (original)
+++ lldb/trunk/source/Plugins/Language/ObjC/ObjCLanguage.cpp Thu Mar 14 15:12:59 2019
@@ -285,7 +285,6 @@ static void LoadObjCFormatters(TypeCateg
objc_category_sp->GetTypeSummariesContainer()->Add(ConstString("BOOL *"),
ObjC_BOOL_summary);
-#ifndef LLDB_DISABLE_PYTHON
// we need to skip pointers here since we are special casing a SEL* when
// retrieving its value
objc_flags.SetSkipPointers(true);
@@ -317,7 +316,6 @@ static void LoadObjCFormatters(TypeCateg
lldb_private::formatters::ObjCClassSyntheticFrontEndCreator,
"Class synthetic children", ConstString("Class"),
class_synth_flags);
-#endif // LLDB_DISABLE_PYTHON
objc_flags.SetSkipPointers(false);
objc_flags.SetCascades(true);
@@ -383,7 +381,6 @@ static void LoadObjCFormatters(TypeCateg
appkit_flags.SetDontShowChildren(false);
-#ifndef LLDB_DISABLE_PYTHON
AddCXXSummary(
objc_category_sp, lldb_private::formatters::NSArraySummaryProvider,
"NSArray summary provider", ConstString("NSArray"), appkit_flags);
@@ -840,7 +837,6 @@ static void LoadObjCFormatters(TypeCateg
lldb_private::formatters::CFBitVectorSummaryProvider,
"CFBitVector summary provider",
ConstString("__CFMutableBitVector"), appkit_flags);
-#endif // LLDB_DISABLE_PYTHON
}
static void LoadCoreMediaFormatters(TypeCategoryImplSP objc_category_sp) {
@@ -856,11 +852,9 @@ static void LoadCoreMediaFormatters(Type
.SetSkipPointers(false)
.SetSkipReferences(false);
-#ifndef LLDB_DISABLE_PYTHON
AddCXXSummary(objc_category_sp,
lldb_private::formatters::CMTimeSummaryProvider,
"CMTime summary provider", ConstString("CMTime"), cm_flags);
-#endif // LLDB_DISABLE_PYTHON
}
lldb::TypeCategoryImplSP ObjCLanguage::GetFormatters() {
More information about the lldb-commits
mailing list