aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constexpr.cc
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2023-06-09 13:43:12 -0400
committerAndrew MacLeod <amacleod@redhat.com>2023-06-09 20:33:03 -0400
commit56518befc2663ddc082e34dddd66b6334a3d4da5 (patch)
tree214c4958b470b252d48016ef10c450a9fe0ed544 /gcc/cp/constexpr.cc
parentd5818a361779e19b9c17295c6a014c4145c73937 (diff)
downloadgcc-56518befc2663ddc082e34dddd66b6334a3d4da5.zip
gcc-56518befc2663ddc082e34dddd66b6334a3d4da5.tar.gz
gcc-56518befc2663ddc082e34dddd66b6334a3d4da5.tar.bz2
Unify NEGATE_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_negate): Remove. Move prototypes to range-op-mixed.h (operator_negate::fold_range): Rename from foperator_negate. (operator_negate::op1_range): Ditto. (float_table::float_table): Remove NEGATE_EXPR. * range-op-mixed.h (class operator_negate): Combined from integer and float files. * range-op.cc (op_negate): New object. (unified_table::unified_table): Add NEGATE_EXPR. (class operator_negate): Move to range-op-mixed.h. (integral_table::integral_table): Remove NEGATE_EXPR. (pointer_table::pointer_table): Remove NEGATE_EXPR.
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions