Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bf15f00ebe953dd1c61bb995ab82d404e2979735
      
https://github.com/WebKit/WebKit/commit/bf15f00ebe953dd1c61bb995ab82d404e2979735
  Author: Richard Robinson <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M Source/WTF/Configurations/Base.xcconfig
    M Source/WTF/wtf/HashTable.h
    M Source/WTF/wtf/NativePromise.h
    M Source/WTF/wtf/SIMDUTF.cpp
    M Source/WTF/wtf/SIMDUTF.h
    M Source/WTF/wtf/TypeTraits.h
    M Source/WTF/wtf/Vector.h
    M Source/WTF/wtf/dtoa/bignum.cc
    M Source/WTF/wtf/dtoa/utils.h
    M Source/WTF/wtf/text/IntegerToStringConversion.h

  Log Message:
  -----------
  [Wunused-template] WTF: 12 unused internal-linkage templates across 
TypeTraits.h, HashTable.h, Vector.h, IntegerToStringConversion.h and 
dtoa/utils.h
https://bugs.webkit.org/show_bug.cgi?id=320760
rdar://183751863

Reviewed by Alex Christensen.

- Add `inline` to static functions that aren't used elsewhere
- Remove `static` from static functions that are used elsewhere
- Remove some unused functions from `TypeTraits.h`
- Enable `-Wunused-template` to prevent more of these issues

* Source/WTF/Configurations/Base.xcconfig:
* Source/WTF/wtf/HashTable.h:
(WTF::initializeHashTableBucket):
* Source/WTF/wtf/NativePromise.h:
(WTF::invokeAsync):
* Source/WTF/wtf/SIMDUTF.cpp:
* Source/WTF/wtf/SIMDUTF.h:
* Source/WTF/wtf/TypeTraits.h:
* Source/WTF/wtf/Vector.h:
(WTF::insertInUniquedSortedVector):
* Source/WTF/wtf/dtoa/utils.h:
(WTF::double_conversion::Max):
(WTF::double_conversion::Min):
* Source/WTF/wtf/text/IntegerToStringConversion.h:
(WTF::numberToStringImpl):
(WTF::writeIntegerToBufferImpl):

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



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

Reply via email to