Bug 211359

Summary: [Intl] Alphabetize extension keys and correctly mark const methods
Product: WebKit Reporter: Ross Kirsling <ross.kirsling>
Component: New BugsAssignee: Ross Kirsling <ross.kirsling>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

Description Ross Kirsling 2020-05-03 13:58:41 PDT
[Intl] Alphabetize extension keys and correctly mark const methods
Comment 1 Ross Kirsling 2020-05-03 14:33:49 PDT
Created attachment 398333 [details]
Patch
Comment 2 Darin Adler 2020-05-05 10:29:42 PDT
Comment on attachment 398333 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=398333&action=review

> Source/JavaScriptCore/runtime/IntlCollator.cpp:47
> +constexpr const char* const relevantExtensionKeys[3] = { "co", "kf", "kn" };

There’s a redundant const here. Given constexpr, don’t need the const after the "*".
Comment 3 Ross Kirsling 2020-05-05 10:39:59 PDT
(In reply to Darin Adler from comment #2)
> Comment on attachment 398333 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=398333&action=review
> 
> > Source/JavaScriptCore/runtime/IntlCollator.cpp:47
> > +constexpr const char* const relevantExtensionKeys[3] = { "co", "kf", "kn" };
> 
> There’s a redundant const here. Given constexpr, don’t need the const after
> the "*".

Oops, thanks for pointing that out! Looks like a typo from an earlier patch.
Comment 4 Ross Kirsling 2020-05-05 10:40:53 PDT
Created attachment 398527 [details]
Patch for landing
Comment 5 EWS 2020-05-05 11:21:38 PDT
Committed r261182: <https://trac.webkit.org/changeset/261182>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 398527 [details].
Comment 6 Radar WebKit Bug Importer 2020-05-05 11:22:17 PDT
<rdar://problem/62895849>