diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2023-06-09 13:42:08 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2023-06-09 20:33:03 -0400 |
commit | a1aaaff33a79d1b7613fbf8a17b51321a135f19c (patch) | |
tree | 93b9604affb2ea5a25538691a51ec7cde90ca46d /gcc/cppbuiltin.cc | |
parent | 29dbd7ef69fe1375055ada081af88e3a8919fff0 (diff) | |
download | gcc-a1aaaff33a79d1b7613fbf8a17b51321a135f19c.zip gcc-a1aaaff33a79d1b7613fbf8a17b51321a135f19c.tar.gz gcc-a1aaaff33a79d1b7613fbf8a17b51321a135f19c.tar.bz2 |
Unify ABS_EXPR range operator
Move the declaration of the class to the range-op-mixed header, add the
floating point prototypes as well, and use it in the new unified table.
* range-op-float.cc (foperator_abs): Remove. Move prototypes
to range-op-mixed.h
(operator_abs::fold_range): Rename from foperator_abs.
(operator_abs::op1_range): Ditto.
(float_table::float_table): Remove ABS_EXPR.
* range-op-mixed.h (class operator_abs): Combined from integer
and float files.
* range-op.cc (op_abs): New object.
(unified_table::unified_table): Add ABS_EXPR.
(class operator_abs): Move to range-op-mixed.h.
(integral_table::integral_table): Remove ABS_EXPR.
(pointer_table::pointer_table): Remove ABS_EXPR.
Diffstat (limited to 'gcc/cppbuiltin.cc')
0 files changed, 0 insertions, 0 deletions