2012/1/3 Robert Gomulka <[email protected]>:
> Hi all,
> a few days ago I started using Coccinelle as a tool for improving my
> source code. The tool is pretty impressive, although I must admit
> learning curve is quite steep for me.
> Unfortunately I am unable to fully automate the checks (found in
> kernel git repository and on Coccinelle web page), as they can eat
> whole memory (12 GB RAM + SWAP) and/or appear to be hanging after a
> few hours.
>
> As for the merit. I have few C files with code like that:
> for (j=0;j<CONSTANT>>2;j++)

May be because "<CONSTANT>" looks like template argument.
Woud you try with a sample C code written like:

for (j=0;j < (CONSTANT>>2) ;j++)



-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to