Improving support for return macro variants with SmPL?
Hello,
The semantic patch language provides special support for “Linux iterators”.
https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/0011af1760e37caada1f9d48e2c549bd519bf203/docs/manual/cocci_syntax.tex#L471
https://github.com/coccinelle/coccinelle/blob/0011af1760e37caada1f9d48e2c549bd519bf203/docs/manual/cocci_syntax.tex#L471
Will a need evolve to extend data processing support in similar ways for macro variants (like “return_ptr(p)”) which indicate return statements?
https://elixir.bootlin.com/linux/v6.8.1/source/include/linux/cleanup.h#L78
Regards,
Markus
Quoted 9 lines · Markus Elfring
Hello,
The semantic patch language provides special support for “Linux iterators”.
https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/0011af1760e37caada1f9d48e2c549bd519bf203/docs/manual/cocci_syntax.tex#L471
https://github.com/coccinelle/coccinelle/blob/0011af1760e37caada1f9d48e2c549bd519bf203/docs/manual/cocci_syntax.tex#L471Will a need evolve to extend data processing support in similar ways for macro variants (like “return_ptr(p)”) which indicate return statements?
https://elixir.bootlin.com/linux/v6.8.1/source/include/linux/cleanup.h#L78
I don't have any plan to do that.
julia