Skip to content

Commit

Permalink
remove unneeded NOLINT
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Allred committed Jul 18, 2018
1 parent 9449ac7 commit e5e5e9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/solvers/refinement/string_constraint_generator_concat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ exprt string_constraint_generatort::add_axioms_for_concat_substr(
length_constraint_for_concat_substr(res, s1, s2, start_index, end_index));

// Axiom 2.
constraints.push_back([&] { // NOLINT
constraints.push_back([&] {
const symbol_exprt idx =
fresh_univ_index("QA_index_concat", res.length().type());
return string_constraintt(
idx, zero_if_negative(s1.length()), equal_exprt(s1[idx], res[idx]));
}());

// Axiom 3.
constraints.push_back([&] { // NOLINT
constraints.push_back([&] {
const symbol_exprt idx2 =
fresh_univ_index("QA_index_concat2", res.length().type());
const equal_exprt res_eq(
Expand Down

0 comments on commit e5e5e9e

Please sign in to comment.