diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2023-06-09 13:18:39 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2023-06-09 20:33:02 -0400 |
commit | 2dbf1e6146e3f0d6d7b4533ca654ad8c4ee03419 (patch) | |
tree | b59d94c57d4996d2b5f52e5985231f4929bb3303 /libcpp | |
parent | 07767389fb390814d9b6142e9d0341b7b9fd1cc2 (diff) | |
download | gcc-2dbf1e6146e3f0d6d7b4533ca654ad8c4ee03419.zip gcc-2dbf1e6146e3f0d6d7b4533ca654ad8c4ee03419.tar.gz gcc-2dbf1e6146e3f0d6d7b4533ca654ad8c4ee03419.tar.bz2 |
Unify EQ_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_equal): Remove. Move prototypes
to range-op-mixed.h
(operator_equal::fold_range): Rename from foperator_equal.
(operator_equal::op1_range): Ditto.
(float_table::float_table): Remove EQ_EXPR.
* range-op-mixed.h (class operator_equal): Combined from integer
and float files.
* range-op.cc (op_equal): New object.
(unified_table::unified_table): Add EQ_EXPR.
(class operator_equal): Move to range-op-mixed.h.
(equal_op1_op2_relation): Fold into
operator_equal::op1_op2_relation.
(integral_table::integral_table): Remove EQ_EXPR.
(pointer_table::pointer_table): Remove EQ_EXPR.
* range-op.h (equal_op1_op2_relation): Delete.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions