From ee64dfd953f89a9d3df3c13a28b1bce33f33f4cb Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Tue, 10 Dec 2019 15:32:57 -0800 Subject: Remove TypeValidators (NFC in terms of the testsuite) This is a half-implemented feature that as far as we can tell was never used by anything since its original inclusion in 2014. This patch removes it to make remaining the code easier to understand. Differential Revision: https://reviews.llvm.org/D71310 --- lldb/source/DataFormatters/DataVisualization.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'lldb/source/DataFormatters/DataVisualization.cpp') diff --git a/lldb/source/DataFormatters/DataVisualization.cpp b/lldb/source/DataFormatters/DataVisualization.cpp index e73d44f60f03..99c303c9f0b1 100644 --- a/lldb/source/DataFormatters/DataVisualization.cpp +++ b/lldb/source/DataFormatters/DataVisualization.cpp @@ -66,17 +66,6 @@ DataVisualization::GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp) { return GetFormatManager().GetSyntheticForType(type_sp); } -lldb::TypeValidatorImplSP -DataVisualization::GetValidator(ValueObject &valobj, - lldb::DynamicValueType use_dynamic) { - return GetFormatManager().GetValidator(valobj, use_dynamic); -} - -lldb::TypeValidatorImplSP -DataVisualization::GetValidatorForType(lldb::TypeNameSpecifierImplSP type_sp) { - return GetFormatManager().GetValidatorForType(type_sp); -} - bool DataVisualization::AnyMatches( ConstString type_name, TypeCategoryImpl::FormatCategoryItems items, bool only_enabled, const char **matching_category, -- cgit v1.2.3