diff options
author | Enrico Granata <egranata@apple.com> | 2015-11-18 19:42:44 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2015-11-18 19:42:44 +0000 |
commit | 3de08c5f0c972ade61b6dd0ea4561c33e09c58fc (patch) | |
tree | ed4978acf2ee92c75f737db8bcde742ae080005c /lldb/source/DataFormatters/FormatManager.cpp | |
parent | e7891d033e9e8b7b9bb4d75945d4cd218883cc44 (diff) | |
download | llvm-3de08c5f0c972ade61b6dd0ea4561c33e09c58fc.zip llvm-3de08c5f0c972ade61b6dd0ea4561c33e09c58fc.tar.gz llvm-3de08c5f0c972ade61b6dd0ea4561c33e09c58fc.tar.bz2 |
Reapply r253423 and r253424 (which cleanup the data formatters iteration model, as well as the type X list commands), along with a change by Zachary Turner to bypass a MSVC bug with SFINAE
llvm-svn: 253493
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 3237f73..8edc8e5 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); |