diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2023-06-09 13:30:56 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2023-06-09 20:33:02 -0400 |
commit | d251d14ccd2814920f817a96b691e38c10cc8854 (patch) | |
tree | 1f18cbdf22a79d9488b02ea20b98bd2e6334de20 /gcc/cp/constexpr.cc | |
parent | 5b079541006f05e6bd0d50e8bb139120d519b9a5 (diff) | |
download | gcc-d251d14ccd2814920f817a96b691e38c10cc8854.zip gcc-d251d14ccd2814920f817a96b691e38c10cc8854.tar.gz gcc-d251d14ccd2814920f817a96b691e38c10cc8854.tar.bz2 |
Unify LE_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_le): Remove. Move prototypes
to range-op-mixed.h
(operator_le::fold_range): Rename from foperator_le.
(operator_le::op1_range): Ditto.
(float_table::float_table): Remove LE_EXPR.
* range-op-mixed.h (class operator_le): Combined from integer
and float files.
* range-op.cc (op_le): New object.
(unified_table::unified_table): Add LE_EXPR.
(class operator_le): Move to range-op-mixed.h.
(le_op1_op2_relation): Fold into
operator_le::op1_op2_relation.
(integral_table::integral_table): Remove LE_EXPR.
(pointer_table::pointer_table): Remove LE_EXPR.
* range-op.h (le_op1_op2_relation): Delete.
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions