Author: Raphael Isemann Date: 2020-07-20T09:59:43+02:00 New Revision: 43f8a7c83b748f1509fa7ebf7276353018755995
URL: https://github.com/llvm/llvm-project/commit/43f8a7c83b748f1509fa7ebf7276353018755995 DIFF: https://github.com/llvm/llvm-project/commit/43f8a7c83b748f1509fa7ebf7276353018755995.diff LOG: [lldb][NFC] Remove unused FormattersContainer::Get overload This is unused and also calls a non-existent 'Get' overload. Added: Modified: lldb/include/lldb/DataFormatters/FormattersContainer.h Removed: ################################################################################ diff --git a/lldb/include/lldb/DataFormatters/FormattersContainer.h b/lldb/include/lldb/DataFormatters/FormattersContainer.h index d414882bae19..2b9c1dcc334f 100644 --- a/lldb/include/lldb/DataFormatters/FormattersContainer.h +++ b/lldb/include/lldb/DataFormatters/FormattersContainer.h @@ -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)); } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits