summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2018-03-13 20:26:38 +0000
committerDavide Italiano <davide@freebsd.org>2018-03-13 20:26:38 +0000
commit5bcb9d7211f36d7d27797699c2915df6561c69f7 (patch)
treeb1e91968eab4c68afcd15b8d03758ed42f48c2e0
parent5cbf56792152e58b89cec4c26e7d039e59e117ff (diff)
downloadbcm5719-llvm-5bcb9d7211f36d7d27797699c2915df6561c69f7.tar.gz
bcm5719-llvm-5bcb9d7211f36d7d27797699c2915df6561c69f7.zip
[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
-rw-r--r--lldb/source/Plugins/Language/ObjC/NSDictionary.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp b/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
index c564aa1a857..0af36f435ec 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) {
OpenPOWER on IntegriCloud