forked from OSchip/llvm-project
parent
9e934b0cc2
commit
801a35ea5e
|
|
@ -1396,11 +1396,6 @@ protected:
|
||||||
|
|
||||||
auto category_closure = [&result, &formatter_regex] (const lldb::TypeCategoryImplSP& category) -> void {
|
auto category_closure = [&result, &formatter_regex] (const lldb::TypeCategoryImplSP& category) -> void {
|
||||||
result.GetOutputStream().Printf("-----------------------\nCategory: %s\n-----------------------\n", category->GetName());
|
result.GetOutputStream().Printf("-----------------------\nCategory: %s\n-----------------------\n", category->GetName());
|
||||||
|
|
||||||
typedef const std::shared_ptr<FormatterType> Bar;
|
|
||||||
typedef std::function<bool(ConstString,Bar)> Func1Type;
|
|
||||||
typedef std::function<bool(RegularExpressionSP,Bar)> Func2Type;
|
|
||||||
|
|
||||||
TypeCategoryImpl::ForEachCallbacks<FormatterType> foreach;
|
TypeCategoryImpl::ForEachCallbacks<FormatterType> foreach;
|
||||||
foreach.SetExact([&result, &formatter_regex] (ConstString name, const FormatterSharedPointer& format_sp) -> bool {
|
foreach.SetExact([&result, &formatter_regex] (ConstString name, const FormatterSharedPointer& format_sp) -> bool {
|
||||||
if (formatter_regex)
|
if (formatter_regex)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue