[webkit-changes] [WebKit/WebKit] b4c015: Update to use C++20 std library features
Abigail Fox
noreply at github.com
Sat Oct 5 16:58:47 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b4c015abf2c705e0c79a32d0090da9be6a723959
https://github.com/WebKit/WebKit/commit/b4c015abf2c705e0c79a32d0090da9be6a723959
Author: Abigail Fox <abigail_fox at apple.com>
Date: 2024-10-05 (Sat, 05 Oct 2024)
Changed paths:
M Source/WTF/wtf/SortedArrayMap.h
M Source/WTF/wtf/StdLibExtras.h
M Source/WebCore/PAL/pal/text/TextCodecSingleByte.cpp
M Source/WebGPU/WebGPU/HardwareCapabilities.mm
Log Message:
-----------
Update to use C++20 std library features
https://bugs.webkit.org/show_bug.cgi?id=280808
Reviewed by Abrar Rahman Protyasha, Sam Weinig, and Mike Wyrzykowski.
Now that C++20 is required, we can take advantage of new standard library features and simplify some code. This addresses several FIXMEs from before we required C++20
* Source/WTF/wtf/SortedArrayMap.h:
* Source/WTF/wtf/StdLibExtras.h:
(WTF::isSortedConstExpr): Deleted.
(WTF::allOfConstExpr): Deleted.
* Source/WebCore/PAL/pal/text/TextCodecSingleByte.cpp:
(PAL::tableForEncoding):
* Source/WebGPU/WebGPU/HardwareCapabilities.mm:
(WebGPU::mergeFeatures):
(WebGPU::includesUnsupportedFeatures):
Canonical link: https://commits.webkit.org/284735@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