chore(library/blast): disable spurious style warnings

This commit is contained in:
Leonardo de Moura 2015-12-05 21:48:50 -08:00
parent 648f6c5f82
commit 61b3c7c655
4 changed files with 6 additions and 6 deletions

View file

@ -75,9 +75,9 @@ class backward_strategy_fn : public strategy_fn {
strategy mk_backward_strategy() {
if (!get_config().m_backward)
return []() { return none_expr(); };
return []() { return none_expr(); }; // NOLINT
else
return []() {
return []() { // NOLINT
flet<bool> disable_show_failure(get_config().m_show_failure, false);
return backward_strategy_fn()();
};

View file

@ -11,7 +11,7 @@ Author: Leonardo de Moura
namespace lean {
namespace blast {
strategy iterative_deepening(strategy const & S, unsigned init, unsigned inc, unsigned max) {
return [=]() {
return [=]() { // NOLINT
state s = curr_state();
unsigned ncs = get_num_choice_points();
unsigned d = init;

View file

@ -67,10 +67,10 @@ public:
};
strategy preprocess_and_then(strategy const & S) {
return [=]() { scope_trace s(false); return preprocess_strategy_fn(S, false)(); };
return [=]() { scope_trace s(false); return preprocess_strategy_fn(S, false)(); }; // NOLINT
}
strategy basic_preprocess_and_then(strategy const & S) {
return [=]() { scope_trace s(false); return preprocess_strategy_fn(S, true)(); };
return [=]() { scope_trace s(false); return preprocess_strategy_fn(S, true)(); }; // NOLINT
}
}}

View file

@ -62,6 +62,6 @@ class simple_strategy_fn : public strategy_fn {
};
strategy mk_simple_strategy() {
return []() { return simple_strategy_fn()(); };
return []() { return simple_strategy_fn()(); }; // NOLINT
}
}}