Commit 5f31ae3f authored by Paul's avatar Paul
Browse files

Formatting

parent 53edc0bb
...@@ -272,9 +272,7 @@ struct match_fold_f ...@@ -272,9 +272,7 @@ struct match_fold_f
template <class Pack> template <class Pack>
static bool fold_matchers_pack(matcher_context& ctx, instruction_ref ins, Pack p) static bool fold_matchers_pack(matcher_context& ctx, instruction_ref ins, Pack p)
{ {
return p([&](auto... ms) { return p([&](auto... ms) { return match_fold_f::fold_matchers(ctx, ins, ms...); });
return match_fold_f::fold_matchers(ctx, ins, ms...);
});
} }
template <class... Ts> template <class... Ts>
...@@ -298,9 +296,7 @@ struct match_fold_f ...@@ -298,9 +296,7 @@ struct match_fold_f
Op op; Op op;
bool matches = Start; bool matches = Start;
select(start, [&](auto ins) { select(start, [&](auto ins) {
auto fm = [&] { auto fm = [&] { return match_fold_f::fold_matchers_pack(ctx, ins, mpack); };
return match_fold_f::fold_matchers_pack(ctx, ins, mpack);
};
matches = op(always(matches), fm); matches = op(always(matches), fm);
}); });
if(matches == Matches) if(matches == Matches)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment