chore(library,util): fix style
This commit is contained in:
parent
d95c064a29
commit
ae0bdaa836
3 changed files with 4 additions and 5 deletions
|
@ -110,14 +110,14 @@ bool is_at_least_quasireducible(environment const & env, name const & n) {
|
|||
|
||||
name_predicate mk_not_reducible_pred(environment const & env) {
|
||||
reducible_state m_state = reducible_ext::get_state(env);
|
||||
return [=](name const & n) {
|
||||
return [=](name const & n) { // NOLINT
|
||||
return m_state.get_status(n) != reducible_status::Reducible;
|
||||
};
|
||||
}
|
||||
|
||||
name_predicate mk_not_quasireducible_pred(environment const & env) {
|
||||
reducible_state m_state = reducible_ext::get_state(env);
|
||||
return [=](name const & n) {
|
||||
return [=](name const & n) { // NOLINT
|
||||
auto r = m_state.get_status(n);
|
||||
return r != reducible_status::Reducible && r != reducible_status::Quasireducible;
|
||||
};
|
||||
|
@ -125,7 +125,7 @@ name_predicate mk_not_quasireducible_pred(environment const & env) {
|
|||
|
||||
name_predicate mk_irreducible_pred(environment const & env) {
|
||||
reducible_state m_state = reducible_ext::get_state(env);
|
||||
return [=](name const & n) {
|
||||
return [=](name const & n) { // NOLINT
|
||||
return m_state.get_status(n) == reducible_status::Irreducible;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -769,6 +769,5 @@ public:
|
|||
type_checker_ptr mk_type_checker(environment const & env, name_generator && ngen, name_predicate const & pred) {
|
||||
return std::unique_ptr<type_checker>(new type_checker(env, std::move(ngen),
|
||||
std::unique_ptr<converter>(new extra_opaque_converter(env, pred))));
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -186,7 +186,7 @@ struct name_pair_quick_cmp {
|
|||
}
|
||||
};
|
||||
|
||||
typedef std::function<bool(name const &)> name_predicate;
|
||||
typedef std::function<bool(name const &)> name_predicate; // NOLINT
|
||||
|
||||
serializer & operator<<(serializer & s, name const & n);
|
||||
name read_name(deserializer & d);
|
||||
|
|
Loading…
Reference in a new issue