Issuing a "type category disable *" command followed by a "type category enable *" command does not honor the order in which categories were previously enabled

While we didn't really promise it would, it seems like it should

This checkin enables just that, and fixes rdar://18527468

llvm-svn: 218949
This commit is contained in:
Enrico Granata
2014-10-03 01:48:32 +00:00
parent fb924fdf38
commit e7687adc60
8 changed files with 77 additions and 26 deletions

View File

@@ -195,6 +195,18 @@ DataVisualization::Categories::Disable (const lldb::TypeCategoryImplSP& category
GetFormatManager().DisableCategory(category);
}
void
DataVisualization::Categories::EnableStar ()
{
GetFormatManager().EnableAllCategories ();
}
void
DataVisualization::Categories::DisableStar ()
{
GetFormatManager().DisableAllCategories();
}
void
DataVisualization::Categories::LoopThrough (FormatManager::CategoryCallback callback, void* callback_baton)
{