[WebGPU] Make sure WGSLUnitTests can call into WGSL
Created attachment 450000 [details] Patch
Created attachment 450001 [details] Patch
Committed r288643 (246453@main): <https://commits.webkit.org/246453@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 450001 [details].
<rdar://problem/88094267>
Comment on attachment 450001 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=450001&action=review > Source/WebGPU/ChangeLog:9 > + (WGSL::staticCheck): Apparently /usr/local/include/AssertMacros.h #defines "check" In paste we have worked around such things with "#undef". See the "#undef new" and "#undef delete" in config.h. And "#undef try" and "#undef catch" in WebCorePrefix.h. But renaming our function is also OK.
Comment on attachment 450001 [details] Patch r=me