chore(library/relation_manager): fix bogus style warnings

This commit is contained in:
Leonardo de Moura 2015-11-01 16:42:14 -08:00
parent 0f631889b7
commit 8e0a3eec3f

View file

@ -258,12 +258,12 @@ optional<name> get_trans_info(environment const & env, name const & op) {
refl_info_getter mk_refl_info_getter(environment const & env) { refl_info_getter mk_refl_info_getter(environment const & env) {
auto t = rel_ext::get_state(env).m_refl_table; auto t = rel_ext::get_state(env).m_refl_table;
return [=](name const & n) { return get_info(t, n); }; return [=](name const & n) { return get_info(t, n); }; // NOLINT
} }
trans_info_getter mk_trans_info_getter(environment const & env) { trans_info_getter mk_trans_info_getter(environment const & env) {
auto t = rel_ext::get_state(env).m_trans_table; auto t = rel_ext::get_state(env).m_trans_table;
return [=](name const & op1, name const & op2) { return [=](name const & op1, name const & op2) { // NOLINT
if (auto it = t.find(mk_pair(op1, op2))) { if (auto it = t.find(mk_pair(op1, op2))) {
return optional<trans_info>(*it); return optional<trans_info>(*it);
} else { } else {
@ -274,7 +274,7 @@ trans_info_getter mk_trans_info_getter(environment const & env) {
symm_info_getter mk_symm_info_getter(environment const & env) { symm_info_getter mk_symm_info_getter(environment const & env) {
auto t = rel_ext::get_state(env).m_symm_table; auto t = rel_ext::get_state(env).m_symm_table;
return [=](name const & n) { return get_info(t, n); }; return [=](name const & n) { return get_info(t, n); }; // NOLINT
} }
bool is_equivalence(environment const & env, name const & rop) { bool is_equivalence(environment const & env, name const & rop) {