aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2024-02-21 20:37:14 +0100
committerAldy Hernandez <aldyh@redhat.com>2024-04-28 21:02:38 +0200
commit21713edf52974d14238cdda865fc662eca58302a (patch)
treedbe8165b081f7b40519a2f4e480f7b52fdcf8ab5 /libcpp
parent942a9cf2a958113d2ab46f5b015c36e569abedcf (diff)
downloadgcc-21713edf52974d14238cdda865fc662eca58302a.zip
gcc-21713edf52974d14238cdda865fc662eca58302a.tar.gz
gcc-21713edf52974d14238cdda865fc662eca58302a.tar.bz2
Make vrange an abstract class.
Explicitly make vrange an abstract class. This involves fleshing out the unsupported_range overrides which we were inheriting by default from vrange. gcc/ChangeLog: * value-range.cc (unsupported_range::accept): Move down. (vrange::contains_p): Rename to... (unsupported_range::contains_p): ...this. (vrange::singleton_p): Rename to... (unsupported_range::singleton_p): ...this. (vrange::set): Rename to... (unsupported_range::set): ...this. (vrange::type): Rename to... (unsupported_range::type): ...this. (vrange::supports_type_p): Rename to... (unsupported_range::supports_type_p): ...this. (vrange::set_undefined): Rename to... (unsupported_range::set_undefined): ...this. (vrange::set_varying): Rename to... (unsupported_range::set_varying): ...this. (vrange::union_): Rename to... (unsupported_range::union_): ...this. (vrange::intersect): Rename to... (unsupported_range::intersect): ...this. (vrange::zero_p): Rename to... (unsupported_range::zero_p): ...this. (vrange::nonzero_p): Rename to... (unsupported_range::nonzero_p): ...this. (vrange::set_nonzero): Rename to... (unsupported_range::set_nonzero): ...this. (vrange::set_zero): Rename to... (unsupported_range::set_zero): ...this. (vrange::set_nonnegative): Rename to... (unsupported_range::set_nonnegative): ...this. (vrange::fits_p): Rename to... (unsupported_range::fits_p): ...this. (unsupported_range::operator=): New. (frange::fits_p): New. * value-range.h (class vrange): Make an abstract class. (class unsupported_range): Declare override methods.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions