From 5bcb9d7211f36d7d27797699c2915df6561c69f7 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Tue, 13 Mar 2018 20:26:38 +0000 Subject: [PATCH] [DataFormatter] Remove dead code for the NSDictionary formatter. I'm going to make changes in this area soon, so I figured I could clean things a bit while I was around. llvm-svn: 327445 --- lldb/source/Plugins/Language/ObjC/NSDictionary.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp b/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp index c564aa1a8571..0af36f435ecc 100644 --- a/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp +++ b/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp @@ -424,16 +424,6 @@ bool lldb_private::formatters::NSDictionarySummaryProvider( } else if (class_name == g_Dictionary1) { value = 1; } - /*else if (!strcmp(class_name,"__NSCFDictionary")) - { - Status error; - value = process_sp->ReadUnsignedIntegerFromMemory(valobj_addr + (is_64bit ? - 20 : 12), 4, 0, error); - if (error.Fail()) - return false; - if (is_64bit) - value &= ~0x0f1f000000000000UL; - }*/ else { auto &map(NSDictionary_Additionals::GetAdditionalSummaries()); for (auto &candidate : map) {