diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2023-06-09 13:32:25 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2023-06-09 20:33:02 -0400 |
commit | f544e7e8a1897b4ddf2ae21c53f9284356373618 (patch) | |
tree | 6171590064f2872b0cfc2eb183c0eff62412a23c /gcc/cp/constexpr.cc | |
parent | d251d14ccd2814920f817a96b691e38c10cc8854 (diff) | |
download | gcc-f544e7e8a1897b4ddf2ae21c53f9284356373618.zip gcc-f544e7e8a1897b4ddf2ae21c53f9284356373618.tar.gz gcc-f544e7e8a1897b4ddf2ae21c53f9284356373618.tar.bz2 |
Unify GT_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_gt): Remove. Move prototypes
to range-op-mixed.h
(operator_gt::fold_range): Rename from foperator_gt.
(operator_gt::op1_range): Ditto.
(float_table::float_table): Remove GT_EXPR.
* range-op-mixed.h (class operator_gt): Combined from integer
and float files.
* range-op.cc (op_gt): New object.
(unified_table::unified_table): Add GT_EXPR.
(class operator_gt): Move to range-op-mixed.h.
(gt_op1_op2_relation): Fold into
operator_gt::op1_op2_relation.
(integral_table::integral_table): Remove GT_EXPR.
(pointer_table::pointer_table): Remove GT_EXPR.
* range-op.h (gt_op1_op2_relation): Delete.
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions