[PPL-devel] [GIT] ppl/ppl(master): Avoid excessive and dangerous reliance on the C++ operator precedence rules .

Roberto Bagnara bagnara at cs.unipr.it
Tue Oct 18 11:40:40 CEST 2011


Module: ppl/ppl
Branch: master
Commit: 037540dd9fe5677fd7b686f84c7cb9bbfaec10e4
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=037540dd9fe5677fd7b686f84c7cb9bbfaec10e4

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Tue Oct 18 11:38:43 2011 +0200

Avoid excessive and dangerous reliance on the C++ operator precedence rules.
Detected by ECLAIR service exprprns.
Other readability improvements.

---

 Watchdog/src/Time.inlines.hh       |    6 +-
 src/BD_Shape.templates.hh          |    2 +-
 src/BHRZ03_Certificate.cc          |   16 +-
 src/Bit_Row.cc                     |    4 +-
 src/Bit_Row.inlines.hh             |    2 +-
 src/Boundary.defs.hh               |    8 +-
 src/Box.templates.hh               |   32 ++-
 src/C_Polyhedron.cc                |    6 +-
 src/C_Polyhedron.inlines.hh        |   10 +-
 src/Checked_Number.inlines.hh      |    2 +-
 src/Checked_Number.templates.hh    |    2 +-
 src/Congruence.cc                  |    4 +-
 src/Constraint.cc                  |    2 +-
 src/Constraint.inlines.hh          |    6 +-
 src/Float.inlines.hh               |    2 +-
 src/Generator.inlines.hh           |    2 +-
 src/Grid.inlines.hh                |   14 +-
 src/Grid_Certificate.cc            |    4 +-
 src/Grid_Generator.cc              |    2 +-
 src/Grid_chdims.cc                 |    2 +-
 src/Grid_public.cc                 |   18 +-
 src/H79_Certificate.cc             |    6 +-
 src/Interval.inlines.hh            |    8 +-
 src/Linear_Expression.cc           |    6 +-
 src/Linear_Row.inlines.hh          |    2 +-
 src/Linear_System.inlines.hh       |    2 +-
 src/MIP_Problem.cc                 |   18 +-
 src/NNC_Polyhedron.cc              |    6 +-
 src/NNC_Polyhedron.inlines.hh      |   10 +-
 src/Octagonal_Shape.inlines.hh     |    2 +-
 src/Octagonal_Shape.templates.hh   |  610 +++++++++++++++++++-----------------
 src/Pointset_Powerset.templates.hh |    3 +-
 src/Polyhedron_chdims.cc           |    2 +-
 src/Polyhedron_public.cc           |    4 +-
 src/Variable.inlines.hh            |    2 +-
 src/Variables_Set.inlines.hh       |    2 +-
 src/checked.cc                     |    4 +-
 src/checked_float.inlines.hh       |    2 +-
 src/checked_int.inlines.hh         |   50 ++--
 src/checked_mpq.inlines.hh         |    2 +-
 src/checked_mpz.inlines.hh         |    4 +-
 src/globals.inlines.hh             |    4 +-
 src/intervals.defs.hh              |    4 +-
 src/math_utilities.inlines.hh      |    2 +-
 src/minimize.cc                    |    4 +-
 src/wrap_string.cc                 |    2 +-
 46 files changed, 473 insertions(+), 434 deletions(-)

Diff:   http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commitdiff;h=037540dd9fe5677fd7b686f84c7cb9bbfaec10e4



More information about the PPL-devel mailing list