[lldb][NFC] Remove unused FormattersContainer::Get overload
authorRaphael Isemann <teemperor@gmail.com>
Mon, 20 Jul 2020 07:59:40 +0000 (09:59 +0200)
committerRaphael Isemann <teemperor@gmail.com>
Mon, 20 Jul 2020 07:59:43 +0000 (09:59 +0200)
This is unused and also calls a non-existent 'Get' overload.

lldb/include/lldb/DataFormatters/FormattersContainer.h

index d414882..2b9c1dc 100644 (file)
@@ -180,17 +180,6 @@ public:
     return Delete_Impl(type, static_cast<KeyType *>(nullptr));
   }
 
-  bool Get(ValueObject &valobj, MapValueType &entry,
-           lldb::DynamicValueType use_dynamic) {
-    CompilerType ast_type(valobj.GetCompilerType());
-    bool ret = Get(valobj, ast_type, entry, use_dynamic);
-    if (ret)
-      entry = MapValueType(entry);
-    else
-      entry = MapValueType();
-    return ret;
-  }
-
   bool Get(ConstString type, MapValueType &entry) {
     return Get_Impl(type, entry, static_cast<KeyType *>(nullptr));
   }