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
This commit is contained in:
@@ -225,12 +225,6 @@ DataVisualization::Categories::DisableStar ()
|
||||
GetFormatManager().DisableAllCategories();
|
||||
}
|
||||
|
||||
void
|
||||
DataVisualization::Categories::LoopThrough (FormatManager::CategoryCallback callback, void* callback_baton)
|
||||
{
|
||||
GetFormatManager().LoopThroughCategories(callback, callback_baton);
|
||||
}
|
||||
|
||||
void
|
||||
DataVisualization::Categories::ForEach (TypeCategoryMap::ForEachCallback callback)
|
||||
{
|
||||
@@ -274,9 +268,9 @@ DataVisualization::NamedSummaryFormats::Clear ()
|
||||
}
|
||||
|
||||
void
|
||||
DataVisualization::NamedSummaryFormats::LoopThrough (TypeSummaryImpl::SummaryCallback callback, void* callback_baton)
|
||||
DataVisualization::NamedSummaryFormats::ForEach (std::function<bool(ConstString, const lldb::TypeSummaryImplSP&)> callback)
|
||||
{
|
||||
GetFormatManager().GetNamedSummaryContainer().LoopThrough(callback, callback_baton);
|
||||
GetFormatManager().GetNamedSummaryContainer().ForEach(callback);
|
||||
}
|
||||
|
||||
uint32_t
|
||||
|
||||
Reference in New Issue
Block a user