WebKit icon indicating copy to clipboard operation
WebKit copied to clipboard

WebGPU: Replace UChar with char16_t

Open adetaylor opened this issue 7 months ago โ€ข 1 comments

7f8fedb2c66fe622eaf9790af7a32bc478692aa2

WebGPU: Replace UChar with char16_t
https://bugs.webkit.org/show_bug.cgi?id=294730
rdar://153822449

Reviewed by NOBODY (OOPS!).

WebKit wishes to move from UChar to the standard C++ chat16_t. This PR makes
the change in Source/WebGPU; it's a simple textual replacement of \bUChar\b
with char16_t. These are typedef'd to be the same so no functional differences
are expected.

* Source/WebGPU/WGSL/Lexer.cpp:
(WGSL::isIdentifierStart):
(WGSL::isIdentifierContinue):
* Source/WebGPU/WGSL/Lexer.h:
(WGSL::Lexer::Lexer):
* Source/WebGPU/WGSL/Parser.cpp:
(WGSL::parse):

https://github.com/WebKit/WebKit/commit/7f8fedb2c66fe622eaf9790af7a32bc478692aa2

Misc iOS, visionOS, tvOS & watchOS macOS Linux Windows
โœ… ๐Ÿงช style โœ… ๐Ÿ›  ios โœ… ๐Ÿ›  mac โœ… ๐Ÿ›  wpe โœ… ๐Ÿ›  win
โœ… ๐Ÿ›  ios-sim โœ… ๐Ÿ›  mac-AS-debug โœ… ๐Ÿงช wpe-wk2 โณ ๐Ÿงช win-tests
โœ… ๐Ÿงช webkitperl โœ… ๐Ÿงช ios-wk2 โœ… ๐Ÿงช api-mac โœ… ๐Ÿงช api-wpe
โœ… ๐Ÿงช ios-wk2-wpt โœ… ๐Ÿ›  wpe-cairo
โœ… ๐Ÿงช api-ios โœ… ๐Ÿงช mac-wk2 โœ… ๐Ÿ›  gtk
โœ… ๐Ÿ›  vision โœ… ๐Ÿงช mac-AS-debug-wk2 โœ… ๐Ÿงช gtk-wk2
โœ… ๐Ÿ›  vision-sim โœ… ๐Ÿงช mac-wk2-stress โœ… ๐Ÿงช api-gtk
โœ… ๐Ÿงช vision-wk2 โœ… ๐Ÿงช mac-intel-wk2 โ€ƒ ~~๐Ÿ›  playstation~~
โœ… ๐Ÿ›  tv โœ… ๐Ÿ›  mac-safer-cpp
โœ… ๐Ÿ›  tv-sim
โœ… ๐Ÿ›  watch
โœ… ๐Ÿ›  watch-sim

adetaylor avatar Jun 19 '25 13:06 adetaylor

Committed 296800@main (f3097d84b527): https://commits.webkit.org/296800@main

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

webkit-commit-queue avatar Jun 30 '25 16:06 webkit-commit-queue