diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2023-06-09 13:25:49 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2023-06-09 20:33:02 -0400 |
commit | eb29c3e1fab9f985144fd4d63f5b86c039c459d0 (patch) | |
tree | 0388fc7561ba32ac47d4eeb04f5d67a8eb7484d6 /gcc/cp/constexpr.cc | |
parent | 2dbf1e6146e3f0d6d7b4533ca654ad8c4ee03419 (diff) | |
download | gcc-eb29c3e1fab9f985144fd4d63f5b86c039c459d0.zip gcc-eb29c3e1fab9f985144fd4d63f5b86c039c459d0.tar.gz gcc-eb29c3e1fab9f985144fd4d63f5b86c039c459d0.tar.bz2 |
Unify NE_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_not_equal): Remove. Move prototypes
to range-op-mixed.h
(operator_equal::fold_range): Rename from foperator_not_equal.
(operator_equal::op1_range): Ditto.
(float_table::float_table): Remove NE_EXPR.
* range-op-mixed.h (class operator_not_equal): Combined from integer
and float files.
* range-op.cc (op_equal): New object.
(unified_table::unified_table): Add NE_EXPR.
(class operator_not_equal): Move to range-op-mixed.h.
(not_equal_op1_op2_relation): Fold into
operator_not_equal::op1_op2_relation.
(integral_table::integral_table): Remove NE_EXPR.
(pointer_table::pointer_table): Remove NE_EXPR.
* range-op.h (not_equal_op1_op2_relation): Delete.
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions