[webkit-changes] [WebKit/WebKit] 0fa955: Begin transition from WTF::Span to std::span

Alex Christensen noreply at github.com
Thu May 11 20:20:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0fa955e615eb7e8f5f14c86e30800e1ec4de9eee
      https://github.com/WebKit/WebKit/commit/0fa955e615eb7e8f5f14c86e30800e1ec4de9eee
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-05-11 (Thu, 11 May 2023)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WTF/wtf/Span.h
    M Source/cmake/OptionsCommon.cmake
    M Source/cmake/OptionsPlayStation.cmake
    M Source/cmake/WebKitCompilerFlags.cmake

  Log Message:
  -----------
  Begin transition from WTF::Span to std::span
https://bugs.webkit.org/show_bug.cgi?id=237178
rdar://89792762

Reviewed by Don Olmstead.

GCC 10 is the minimum supported GCC, and it has std::span, so remove the non-std::span support.

* Source/WTF/wtf/PlatformHave.h:
* Source/WTF/wtf/Span.h:
(std::is_convertible_v<std::remove_pointer_t<decltype): Deleted.
(makeSpan): Deleted.
* Source/cmake/OptionsCommon.cmake:
* Source/cmake/OptionsPlayStation.cmake:
* Source/cmake/WebKitCompilerFlags.cmake:

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




More information about the webkit-changes mailing list