mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 10:18:14 +08:00
Add a convenience function to FormatManager to setup an empty filter (one that suppresses all children, that is)
llvm-svn: 217891
This commit is contained in:
@@ -957,6 +957,15 @@ static void AddFilter (TypeCategoryImpl::SharedPointer category_sp,
|
||||
else
|
||||
category_sp->GetTypeFiltersContainer()->Add(type_name,filter_sp);
|
||||
}
|
||||
|
||||
static void AddEmptyFilter (TypeCategoryImpl::SharedPointer category_sp,
|
||||
const char* description,
|
||||
ConstString type_name,
|
||||
ScriptedSyntheticChildren::Flags flags,
|
||||
bool regex = false)
|
||||
{
|
||||
AddFilter(category_sp, {}, description, type_name, flags, regex);
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user