RESOLVED DUPLICATE of bug 252233 245861
[WGSL] Remove RETURN_NODE_REF_NO_ARGS from Parser
https://bugs.webkit.org/show_bug.cgi?id=245861
Summary [WGSL] Remove RETURN_NODE_REF_NO_ARGS from Parser
Dan Glastonbury
Reported 2022-09-29 21:01:07 PDT
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
Attachments
Radar WebKit Bug Importer
Comment 1 2022-09-29 21:01:31 PDT
Dan Glastonbury
Comment 2 2023-02-19 16:19:07 PST
*** This bug has been marked as a duplicate of bug 252233 ***
Note You need to log in before you can comment on or make changes to this bug.