Bug 246500 - [WGSL] Add a helper to aid working with vectors of AST nodes.
Summary: [WGSL] Add a helper to aid working with vectors of AST nodes.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dan Glastonbury
URL:
Keywords: InRadar
Depends on:
Blocks: 246558 246560
  Show dependency treegraph
 
Reported: 2022-10-13 20:18 PDT by Dan Glastonbury
Modified: 2022-10-14 22:06 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Glastonbury 2022-10-13 20:18:47 PDT
Introduce an adapter over Vector<UniqueRef<T>> to make working with collections of AST nodes more natural. Iterators of this helper should return T*/T&, not UniqueRef<T>*/UniqueRef<T>&
Comment 1 Radar WebKit Bug Importer 2022-10-13 20:19:18 PDT
<rdar://problem/101156657>
Comment 2 Dan Glastonbury 2022-10-13 20:28:53 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5361
Comment 3 EWS 2022-10-14 22:06:02 PDT
Committed 255571@main (c269b69a8c43): <https://commits.webkit.org/255571@main>

Reviewed commits have been landed. Closing PR #5361 and removing active labels.