On Tue, 23 Aug 2011, SF Markus Elfring wrote:

> > If someone wants something mor complicated, they can use indent regularly
> > on their code, or this tool that you mention.
> 
> Would you like to be able to generate patches without reformatting by other
> code beautifiers?

It is a very hard problem to beautify code.  I don't see any reason for 
Coccinelle to do that as well.  Coccinelle needs to make the code readable 
and to try to respect the existing style.  But if someone wants something 
more exotic, they should use some tool that is designed for that.

Actually, I think that most of the changes one does with Coccinelle are 
quite localized, and so the format really doesn't matter.  If one is 
generating complete functions, then perhaps the situation is different.

julia
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to