Add the ability for formatter categories to be bound to one or more languages
What that does is it restricts formatters in those categories to only match to types coming from "compatible" source languages llvm-svn: 247872
This commit is contained in:
@@ -164,7 +164,7 @@ DataVisualization::Categories::Enable (const ConstString& category,
|
||||
{
|
||||
if (GetFormatManager().GetCategory(category)->IsEnabled())
|
||||
GetFormatManager().DisableCategory(category);
|
||||
GetFormatManager().EnableCategory(category, pos);
|
||||
GetFormatManager().EnableCategory(category, pos, std::initializer_list<lldb::LanguageType>());
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user