[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
This commit is contained in:
Davide Italiano
2018-03-13 20:26:38 +00:00
parent 5cbf567921
commit 5bcb9d7211

View File

@@ -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) {