diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2023-06-09 13:29:15 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2023-06-09 20:33:02 -0400 |
commit | 5b079541006f05e6bd0d50e8bb139120d519b9a5 (patch) | |
tree | 8da4090c98345e0d2dcc2ad5f9706f2018498da2 /gcc/cp/constexpr.cc | |
parent | eb29c3e1fab9f985144fd4d63f5b86c039c459d0 (diff) | |
download | gcc-5b079541006f05e6bd0d50e8bb139120d519b9a5.zip gcc-5b079541006f05e6bd0d50e8bb139120d519b9a5.tar.gz gcc-5b079541006f05e6bd0d50e8bb139120d519b9a5.tar.bz2 |
Unify LT_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_lt): Remove. Move prototypes
to range-op-mixed.h
(operator_lt::fold_range): Rename from foperator_lt.
(operator_lt::op1_range): Ditto.
(float_table::float_table): Remove LT_EXPR.
* range-op-mixed.h (class operator_lt): Combined from integer
and float files.
* range-op.cc (op_lt): New object.
(unified_table::unified_table): Add LT_EXPR.
(class operator_lt): Move to range-op-mixed.h.
(lt_op1_op2_relation): Fold into
operator_lt::op1_op2_relation.
(integral_table::integral_table): Remove LT_EXPR.
(pointer_table::pointer_table): Remove LT_EXPR.
* range-op.h (lt_op1_op2_relation): Delete.
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions