[webkit-changes] [WebKit/WebKit] 492d57: Use std::span more in WTFString

Chris Dumez noreply at github.com
Wed Apr 3 17:07:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 492d572f84caae7af7b09bc7b2d0da09cc6c4c1e
      https://github.com/WebKit/WebKit/commit/492d572f84caae7af7b09bc7b2d0da09cc6c4c1e
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-04-03 (Wed, 03 Apr 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/IntlNumberFormat.cpp
    M Source/WTF/wtf/text/AtomString.h
    M Source/WTF/wtf/text/IntegerToStringConversion.h
    M Source/WTF/wtf/text/StringBuilder.cpp
    M Source/WTF/wtf/text/StringBuilder.h
    M Source/WTF/wtf/text/StringImpl.cpp
    M Source/WTF/wtf/text/StringImpl.h
    M Source/WTF/wtf/text/StringView.h
    M Source/WTF/wtf/text/WTFString.cpp
    M Source/WTF/wtf/text/WTFString.h

  Log Message:
  -----------
  Use std::span more in WTFString
https://bugs.webkit.org/show_bug.cgi?id=272067

Reviewed by Darin Adler.

* Source/JavaScriptCore/runtime/IntlNumberFormat.cpp:
(JSC::computeCurrencySortKey):
(JSC::extractCurrencySortKey):
(JSC::computeCurrencyDigits):
* Source/WTF/wtf/text/ASCIILiteral.h:
(WTF::StringLiterals::operator _charspan):
* Source/WTF/wtf/text/AtomString.h:
(WTF::IntegerToStringConversionTrait<AtomString>::flush):
* Source/WTF/wtf/text/IntegerToStringConversion.h:
(WTF::numberToStringImpl):
* Source/WTF/wtf/text/StringBuilder.h:
(WTF::StringBuilder::appendCharacters):
(WTF::IntegerToStringConversionTrait<StringBuilder>::flush):
* Source/WTF/wtf/text/StringImpl.h:
(WTF::containsOnly):
(WTF::isSpecialCharacter const):
* Source/WTF/wtf/text/StringView.h:
(WTF::isSpecialCharacter const):
* Source/WTF/wtf/text/WTFString.cpp:
(WTF::String::ascii const):
(WTF::String::latin1 const):
* Source/WTF/wtf/text/WTFString.h:
(WTF::IntegerToStringConversionTrait<String>::flush):

Canonical link: https://commits.webkit.org/277043@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list