Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 97c0170f3a51701d52fdee3d9fbdaee24f6b7a57
      
https://github.com/WebKit/WebKit/commit/97c0170f3a51701d52fdee3d9fbdaee24f6b7a57
  Author: Fujii Hironori <[email protected]>
  Date:   2025-09-27 (Sat, 27 Sep 2025)

  Changed paths:
    M Source/WTF/wtf/Vector.h

  Log Message:
  -----------
  [WTF] Convert VectorTypeOperations to use constexpr if
https://bugs.webkit.org/show_bug.cgi?id=299435

Reviewed by Darin Adler.

Modernized VectorTypeOperations to use constexpr if rather than the
old template metaprogramming style.

Renamed a variable `cur` to `current`.

* Source/WTF/wtf/Vector.h:
(WTF::VectorCopier::uninitializedCopy):
(WTF::VectorTypeOperations::destruct):
(WTF::VectorTypeOperations::initializeIfNonPOD):
(WTF::VectorTypeOperations::initialize):
(WTF::VectorTypeOperations::initializeWithArgs):
(WTF::VectorTypeOperations::move):
(WTF::VectorTypeOperations::moveOverlapping):
(WTF::VectorTypeOperations::uninitializedCopy):
(WTF::VectorTypeOperations::uninitializedFill):
(WTF::VectorTypeOperations::compare):
(WTF::Vector::Vector):
(WTF::Malloc>::append):
(WTF::Malloc>::unsafeAppendWithoutCapacityCheck):
(WTF::Malloc>::insertSpan):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to