rename range_typet to integer_range_typet#9001
Merged
tautschnig merged 1 commit intodevelopfrom May 5, 2026
Merged
Conversation
peterschrammel
approved these changes
May 5, 2026
2b9af72 to
f9d30ab
Compare
feliperodri
approved these changes
May 5, 2026
bd831b5 to
89ad29f
Compare
Collaborator
|
(Disabling auto-merge for now as I'd like to fix a couple of inconsistencies.) |
1. This renames the type class range_typet to integer_range_typet to clarify that it denotes a subrange of the integers. 2. This renames the existing getters/setters to use C++ naming, as opposed to Java naming. 3. This adds the size() method, the number of integers in the range. 4. This adds the empty() method, which returns true when the range has no elements.
89ad29f to
bd831b5
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #9001 +/- ##
===========================================
+ Coverage 80.52% 80.53% +0.01%
===========================================
Files 1705 1706 +1
Lines 188927 188982 +55
Branches 73 73
===========================================
+ Hits 152130 152204 +74
+ Misses 36797 36778 -19 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
bd831b5 to
ad96e40
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This renames the type class
range_typettointeger_range_typetto clarify that it denotes a subrange of the integers.This renames the existing getters/setters to use C++ naming, as opposed to Java naming.
This adds the
size()method, the number of integers in the range.This adds the
empty()method, which returns true when the range has no elements.