diff options
author | Enrico Granata <egranata@apple.com> | 2015-11-18 01:37:49 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2015-11-18 01:37:49 +0000 |
commit | a76e894bd58f060b8c72e8bfe63deaf28d16be50 (patch) | |
tree | b33a3cd3bc93e2eea97aaa4f21441e036a33f162 /lldb/source/DataFormatters/FormatManager.cpp | |
parent | 3da7a5338edd92c15ca62fd900b95a028767df47 (diff) | |
download | bcm5719-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.cpp | 15 |
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); |