Landing: 423eb6def78c

Project / Subsystem

gcc / gcc

Date

2026-02-05

Author

David Malcolm

Commit

423eb6def78cfd05f6fc0492df109f9711f65c2a

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
commit_hash
423eb6def78cfd05f6fc0492df109f9711f65c2a
source_type
github
headline
Rename value_range::set_type for Clarity
tldr
Renamed `value_range::set_type` to `value_range::set_range_class` to better reflect its purpose.
author
David Malcolm
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • refactor
  • code clarity
discussion_id_link
bugzilla_pr
date
2026-02-05T00:00:00.000Z

This commit renames the value_range::set_type method to value_range::set_range_class to improve code clarity. The method does not set the underlying type of the value_range object, but rather selects an appropriate subclass for the given type. The renaming avoids confusion and makes the code easier to understand.