summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters/DataVisualization.cpp
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2015-11-18 12:11:34 +0000
committerTamas Berghammer <tberghammer@google.com>2015-11-18 12:11:34 +0000
commit68aa90a11e29b77ccbccc7ae128d342bc8920b40 (patch)
tree805c8489bfbd6247238d6cbe41e392867d8c6c12 /lldb/source/DataFormatters/DataVisualization.cpp
parentea3bb626d434b950985fc1dccdd3f1f4099fbc5b (diff)
downloadbcm5719-llvm-68aa90a11e29b77ccbccc7ae128d342bc8920b40.tar.gz
bcm5719-llvm-68aa90a11e29b77ccbccc7ae128d342bc8920b40.zip
Revert 2 commits breaking the MSVC build
Revert "Remove a few vestigial typedefs from the old world" This reverts commit 05872cda2a00fbd988c4fc761b1f87fe9edce224. Revert "Cleanup the type X list commands to use the new ForEach goodness" This reverts commit 85b1d83819a22cdc9ef12f58fd4fa92b473a4f81. llvm-svn: 253455
Diffstat (limited to 'lldb/source/DataFormatters/DataVisualization.cpp')
-rw-r--r--lldb/source/DataFormatters/DataVisualization.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/lldb/source/DataFormatters/DataVisualization.cpp b/lldb/source/DataFormatters/DataVisualization.cpp
index 14cf13d2f18..581ef3f851a 100644
--- a/lldb/source/DataFormatters/DataVisualization.cpp
+++ b/lldb/source/DataFormatters/DataVisualization.cpp
@@ -226,6 +226,12 @@ DataVisualization::Categories::DisableStar ()
}
void
+DataVisualization::Categories::LoopThrough (FormatManager::CategoryCallback callback, void* callback_baton)
+{
+ GetFormatManager().LoopThroughCategories(callback, callback_baton);
+}
+
+void
DataVisualization::Categories::ForEach (TypeCategoryMap::ForEachCallback callback)
{
GetFormatManager().ForEachCategory(callback);
@@ -268,9 +274,9 @@ DataVisualization::NamedSummaryFormats::Clear ()
}
void
-DataVisualization::NamedSummaryFormats::ForEach (std::function<bool(ConstString, const lldb::TypeSummaryImplSP&)> callback)
+DataVisualization::NamedSummaryFormats::LoopThrough (TypeSummaryImpl::SummaryCallback callback, void* callback_baton)
{
- GetFormatManager().GetNamedSummaryContainer().ForEach(callback);
+ GetFormatManager().GetNamedSummaryContainer().LoopThrough(callback, callback_baton);
}
uint32_t
OpenPOWER on IntegriCloud