[Lldb-commits] [lldb] 89618a7 - [DataVisualization] Simplify. NFCI.
Davide Italiano via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 3 15:03:34 PST 2019
Author: Davide Italiano
Date: 2019-12-03T15:03:25-08:00
New Revision: 89618a7ce1c13dcb540d925626638c93cc85a553
URL: https://github.com/llvm/llvm-project/commit/89618a7ce1c13dcb540d925626638c93cc85a553
DIFF: https://github.com/llvm/llvm-project/commit/89618a7ce1c13dcb540d925626638c93cc85a553.diff
LOG: [DataVisualization] Simplify. NFCI.
Added:
Modified:
lldb/source/DataFormatters/DataVisualization.cpp
Removed:
################################################################################
diff --git a/lldb/source/DataFormatters/DataVisualization.cpp b/lldb/source/DataFormatters/DataVisualization.cpp
index 08b3b34447bb..e73d44f60f03 100644
--- a/lldb/source/DataFormatters/DataVisualization.cpp
+++ b/lldb/source/DataFormatters/DataVisualization.cpp
@@ -122,8 +122,7 @@ void DataVisualization::Categories::Enable(ConstString category,
TypeCategoryMap::Position pos) {
if (GetFormatManager().GetCategory(category)->IsEnabled())
GetFormatManager().DisableCategory(category);
- GetFormatManager().EnableCategory(
- category, pos, std::initializer_list<lldb::LanguageType>());
+ GetFormatManager().EnableCategory(category, pos, {});
}
void DataVisualization::Categories::Enable(lldb::LanguageType lang_type) {
More information about the lldb-commits
mailing list