[Webkit-unassigned] [Bug 245861] New: [WGSL] Remove RETURN_NODE_REF_NO_ARGS from Parser
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 29 21:01:07 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=245861
Bug ID: 245861
Summary: [WGSL] Remove RETURN_NODE_REF_NO_ARGS from Parser
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebGPU
Assignee: webkit-unassigned at lists.webkit.org
Reporter: djg at apple.com
This comment in Parser.cpp:
```
// Passing 0 arguments beyond the type to RETURN_NODE_REF is invalid because of a stupid limitation of the C preprocessor
#define RETURN_NODE_REF_NO_ARGS(type) \
return { makeUniqueRef<AST::type>(CURRENT_SOURCE_SPAN()) };
```
Change be fixed with __VA_OPT__
https://stackoverflow.com/questions/68484818/function-like-macros-with-c20-va-opt-error-in-manual-code
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220930/f0cb5de2/attachment.htm>
More information about the webkit-unassigned
mailing list