Re: [Cocci] [PATCH] Coccinelle: Script to drop parenthesis in the return statements

2014-06-19 Thread Julia Lawall
On Thu, 19 Jun 2014, Joe Perches wrote: On Thu, 2014-06-19 at 21:59 +0530, Himangi Saraogi wrote: This script detects the use of a parenthesis around return value ot the return statements and removes them as they are unnecessary and against the CodingStyle. A new directory called

Re: [Cocci] [PATCH] Coccinelle: Script to drop parenthesis in the return statements

2014-06-19 Thread Joe Perches
On Thu, 2014-06-19 at 18:49 +0200, Julia Lawall wrote: On Thu, 19 Jun 2014, Joe Perches wrote: On Thu, 2014-06-19 at 21:59 +0530, Himangi Saraogi wrote: This script detects the use of a parenthesis around return value ot the return statements and removes them as they are unnecessary and

Re: [Cocci] [PATCH] Coccinelle: Script to drop parenthesis in the return statements

2014-06-19 Thread Joe Perches
On Thu, 2014-06-19 at 21:59 +0530, Himangi Saraogi wrote: This script detects the use of a parenthesis around return value ot the return statements and removes them as they are unnecessary and against the CodingStyle. A new directory called checkpatch is added for semantic patches that just

Re: [Cocci] [PATCH] Coccinelle: Script to drop parenthesis in the return statements

2014-06-19 Thread Julia Lawall
On Thu, 19 Jun 2014, Joe Perches wrote: On Thu, 2014-06-19 at 18:49 +0200, Julia Lawall wrote: On Thu, 19 Jun 2014, Joe Perches wrote: On Thu, 2014-06-19 at 21:59 +0530, Himangi Saraogi wrote: This script detects the use of a parenthesis around return value ot the return