On 07/31/2018 10:18 AM, Julia Lawall wrote:
I think that if a parameter is not in danger of overflowing and is not
modified it won't move.  It's not optimally formatting the argument list,
just avoiding going past the specified number of columns.

For example, some people may prefer one argument per line, while others
prefer to pack them as much as possible.  It doesn't try to figure out
this preference.

That makes sense. However, when the cocci script shortens a line, the lines now look funny. Also, it appears that since coccinelle already has the ability to reformat function calls, it would be nice if we could tap into that feature to do a sort of automatic reformatting.

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to