[webkit-changes] [WebKit/WebKit] c269b6: [WGSL] Add a helper to aid working with vectors of...
Dan Glastonbury
noreply at github.com
Fri Oct 14 22:06:12 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c269b69a8c430e567650d4aae01bf65cbd3129de
https://github.com/WebKit/WebKit/commit/c269b69a8c430e567650d4aae01bf65cbd3129de
Author: Dan Glastonbury <djg at apple.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M Source/WTF/WTF.xcodeproj/project.pbxproj
M Source/WTF/wtf/CMakeLists.txt
A Source/WTF/wtf/UniqueRefVector.h
M Tools/TestWebKitAPI/CMakeLists.txt
M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
A Tools/TestWebKitAPI/Tests/WTF/UniqueRefVector.cpp
Log Message:
-----------
[WGSL] Add a helper to aid working with vectors of AST nodes
https://bugs.webkit.org/show_bug.cgi?id=246500
rdar://problem/101156657
Reviewed by Myles C. Maxfield.
Introduce UniqueRefs<T>; an adapter over Vector<UniqueRef<T>> to make working
with collections of AST nodes more natural.
Tested by TestWebKitAPI/Tests/WTF/UniqueRefVector.cpp
* Source/WTF/WTF.xcodeproj/project.pbxproj:
* Source/WTF/wtf/CMakeLists.txt:
* Source/WTF/wtf/UniqueRefVector.h: Added.
* Tools/TestWebKitAPI/CMakeLists.txt:
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WTF/UniqueRefVector.cpp: Added.
Canonical link: https://commits.webkit.org/255571@main
More information about the webkit-changes
mailing list