Skip to content

Commit

Permalink
[lldb][NFC] Remove unused FormattersContainer::Get overload
Browse files Browse the repository at this point in the history
This is unused and also calls a non-existent 'Get' overload.
  • Loading branch information
Teemperor committed Jul 20, 2020
1 parent 04b729d commit 43f8a7c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lldb/include/lldb/DataFormatters/FormattersContainer.h
Expand Up @@ -180,17 +180,6 @@ template <typename KeyType, typename ValueType> class FormattersContainer {
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));
}
Expand Down

0 comments on commit 43f8a7c

Please sign in to comment.