diff options
author | Enrico Granata <egranata@apple.com> | 2014-10-03 01:48:32 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2014-10-03 01:48:32 +0000 |
commit | e7687adc60e07af6850af7ad07786b58b40e19e2 (patch) | |
tree | 2a429c60afe148b710a39149b28ca1477d80c1c4 /lldb/source/DataFormatters/DataVisualization.cpp | |
parent | fb924fdf386875144ef9672bf3d4bfad15a6c66f (diff) | |
download | bcm5719-llvm-e7687adc60e07af6850af7ad07786b58b40e19e2.tar.gz bcm5719-llvm-e7687adc60e07af6850af7ad07786b58b40e19e2.zip |
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
Diffstat (limited to 'lldb/source/DataFormatters/DataVisualization.cpp')
-rw-r--r-- | lldb/source/DataFormatters/DataVisualization.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lldb/source/DataFormatters/DataVisualization.cpp b/lldb/source/DataFormatters/DataVisualization.cpp index 8799c59103e..7ef0be50efe 100644 --- a/lldb/source/DataFormatters/DataVisualization.cpp +++ b/lldb/source/DataFormatters/DataVisualization.cpp @@ -196,6 +196,18 @@ DataVisualization::Categories::Disable (const lldb::TypeCategoryImplSP& category } void +DataVisualization::Categories::EnableStar () +{ + GetFormatManager().EnableAllCategories (); +} + +void +DataVisualization::Categories::DisableStar () +{ + GetFormatManager().DisableAllCategories(); +} + +void DataVisualization::Categories::LoopThrough (FormatManager::CategoryCallback callback, void* callback_baton) { GetFormatManager().LoopThroughCategories(callback, callback_baton); |