[Cocci] Transformation challenges with SmPL around “LIST_FOR_EACH_ENTRY”
SF Markus Elfring
elfring at users.sourceforge.net
Sat Dec 2 11:03:41 CET 2017
>> expression ex;
>> statement S;
>> (..., ...,
> This is not completely a good idea.
I tried to show another approach.
> The ... in the argument list will match a sequence of things, not a single thing.
How does this information fit to the specification of the SmPL ellipsis
as a placeholder for the last macro parameter?
> It could be:
Are these metavariables required for such an use case?
Can such a transformation variant have nicer run time characteristics
in comparison to the initial SmPL script example?
More information about the Cocci