WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 282513
282509
[WTF] BoundsCheckedIterator wants begin()/end() functions for ASCIILiteral, CString, StringTypeAdapter<>, HashTranslatorCharBuffer<>
https://bugs.webkit.org/show_bug.cgi?id=282509
Summary
[WTF] BoundsCheckedIterator wants begin()/end() functions for ASCIILiteral, C...
David Kilzer (:ddkilzer)
Reported
2024-11-03 09:29:01 PST
WTF::BoundsCheckedIterator needs begin()/end() functions for WTF::ASCIILiteral, WTF::CString, WTF::StringTypeAdapter<>, WTF::HashTranslatorCharBuffer<>. Commit
286059@main
for
Bug 282493
broke the build for upstream clang: ``` /usr/local/include/wtf/IndexedRange.h:76:66: error: no member named 'begin' in 'WTF::ASCIILiteral' 76 | return BoundsCheckedIterator<Collection, decltype(collection.begin())>::begin(collection); | ~~~~~~~~~~ ^ /usr/local/include/wtf/IndexedRange.h:76:66: error: no member named 'begin' in 'WTF::CString' 76 | return BoundsCheckedIterator<Collection, decltype(collection.begin())>::begin(collection); | ~~~~~~~~~~ ^ /usr/local/include/wtf/IndexedRange.h:76:66: error: no member named 'begin' in 'WTF::StringTypeAdapter<std::span<const unsigned char>>' 76 | return BoundsCheckedIterator<Collection, decltype(collection.begin())>::begin(collection); | ~~~~~~~~~~ ^ /usr/local/include/wtf/IndexedRange.h:76:66: error: no member named 'begin' in 'WTF::HashTranslatorCharBuffer<unsigned char>' 76 | return BoundsCheckedIterator<Collection, decltype(collection.begin())>::begin(collection); | ~~~~~~~~~~ ^ /usr/local/include/wtf/IndexedRange.h:76:66: error: no member named 'begin' in 'WTF::HashTranslatorCharBuffer<char16_t>' 76 | return BoundsCheckedIterator<Collection, decltype(collection.begin())>::begin(collection); | ~~~~~~~~~~ ^ ```
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-11-03 09:29:21 PST
<
rdar://problem/139160864
>
David Kilzer (:ddkilzer)
Comment 2
2024-11-03 13:25:51 PST
Dupe:
Bug 282513
*** This bug has been marked as a duplicate of
bug 282513
***
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