Bug 247475 - [WGSL] Unify AST node type traits
Summary: [WGSL] Unify AST node type traits
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dan Glastonbury
URL:
Keywords: InRadar
Depends on:
Blocks: 246558
  Show dependency treegraph
 
Reported: 2022-11-03 20:10 PDT by Dan Glastonbury
Modified: 2022-11-06 16:55 PST (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-11-03 20:10:21 PDT
Unify WGSL AST node type introspection to use TypeCastTraits, replacing the
".isNodeKind()" call pattern with "is<NodeKind>(...)" to complement
"downcast<NodeKind>(...)".
Comment 1 Radar WebKit Bug Importer 2022-11-03 20:10:35 PDT
<rdar://problem/101943721>
Comment 2 Dan Glastonbury 2022-11-03 20:18:05 PDT
Pull request: https://github.com/WebKit/WebKit/pull/6123
Comment 3 EWS 2022-11-06 16:55:44 PST
Committed 256381@main (480554208313): <https://commits.webkit.org/256381@main>

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