WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
301825
[Modernization] Replace WTF::makeReversedRange with std::views::reverse
https://bugs.webkit.org/show_bug.cgi?id=301825
Summary
[Modernization] Replace WTF::makeReversedRange with std::views::reverse
Sam Weinig
Reported
2025-11-02 09:23:55 PST
We can now use std::ranges::reverse_view, meaning we can get rid of our version, WTF::makeReversedRange.
Attachments
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2025-11-02 09:59:13 PST
Looks like best practice is to use the adaptor, std::views::reverse instead of std::ranges::reverse_view directly.
Sam Weinig
Comment 2
2025-11-02 10:20:28 PST
Pull request:
https://github.com/WebKit/WebKit/pull/53311
EWS
Comment 3
2025-11-03 10:10:08 PST
Committed
302487@main
(3f05dc5ec966): <
https://commits.webkit.org/302487@main
> Reviewed commits have been landed. Closing PR #53311 and removing active labels.
Radar WebKit Bug Importer
Comment 4
2025-11-03 10:11:12 PST
<
rdar://problem/163944374
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug