Skip to content

Commit 1a65d3f

Browse files
committed
[lldb] Remove data formatter for long gone Swift._Nil
``` commit 60fc0e6 Date: Sun Jun 15 22:59:03 2014 +0000 Implement <rdar://problem/16951729> nil should be a literal type ``` (cherry picked from commit ca85461)
1 parent 1b26ceb commit 1a65d3f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lldb/source/Plugins/Language/Swift/SwiftLanguage.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -549,18 +549,6 @@ static void LoadSwiftFormatters(lldb::TypeCategoryImplSP swift_category_sp) {
549549
"GLKit summary provider", ConstString(GLKitTypes),
550550
simd_summary_flags, true);
551551

552-
TypeSummaryImpl::Flags nil_summary_flags;
553-
nil_summary_flags.SetCascades(true)
554-
.SetDontShowChildren(true)
555-
.SetDontShowValue(true)
556-
.SetHideItemNames(false)
557-
.SetShowMembersOneLiner(false)
558-
.SetSkipPointers(true)
559-
.SetSkipReferences(false);
560-
561-
AddStringSummary(swift_category_sp, "nil", ConstString("Swift._Nil"),
562-
nil_summary_flags);
563-
564552
AddStringSummary(swift_category_sp, "${var.native}",
565553
ConstString("CoreGraphics.CGFloat"), summary_flags);
566554
AddStringSummary(swift_category_sp, "${var.native}",

0 commit comments

Comments
 (0)