summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters/FormatManager.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2015-11-18 01:37:49 +0000
committerEnrico Granata <egranata@apple.com>2015-11-18 01:37:49 +0000
commita76e894bd58f060b8c72e8bfe63deaf28d16be50 (patch)
treeb33a3cd3bc93e2eea97aaa4f21441e036a33f162 /lldb/source/DataFormatters/FormatManager.cpp
parent3da7a5338edd92c15ca62fd900b95a028767df47 (diff)
downloadbcm5719-llvm-a76e894bd58f060b8c72e8bfe63deaf28d16be50.tar.gz
bcm5719-llvm-a76e894bd58f060b8c72e8bfe63deaf28d16be50.zip
Cleanup the type X list commands to use the new ForEach goodness
llvm-svn: 253423
Diffstat (limited to 'lldb/source/DataFormatters/FormatManager.cpp')
-rw-r--r--lldb/source/DataFormatters/FormatManager.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/lldb/source/DataFormatters/FormatManager.cpp b/lldb/source/DataFormatters/FormatManager.cpp
index 3237f73f64e..8edc8e5ca8b 100644
--- a/lldb/source/DataFormatters/FormatManager.cpp
+++ b/lldb/source/DataFormatters/FormatManager.cpp
@@ -486,21 +486,6 @@ FormatManager::GetValidatorForType (lldb::TypeNameSpecifierImplSP type_sp)
}
void
-FormatManager::LoopThroughCategories (CategoryCallback callback, void* param)
-{
- m_categories_map.LoopThrough(callback, param);
- Mutex::Locker locker(m_language_categories_mutex);
- for (const auto& entry : m_language_categories_map)
- {
- if (auto category_sp = entry.second->GetCategory())
- {
- if (!callback(param, category_sp))
- break;
- }
- }
-}
-
-void
FormatManager::ForEachCategory(TypeCategoryMap::ForEachCallback callback)
{
m_categories_map.ForEach(callback);
OpenPOWER on IntegriCloud