Re: [PATCH] Coccinelle: noderef: Add a rule and correct the old rule

2016-05-05 Thread Vaishali Thakkar
On Friday 06 May 2016 01:40 AM, Julia Lawall wrote: > > > On Wed, 27 Apr 2016, Vaishali Thakkar wrote: > >> Add a new rule to detect the cases where sizeof is used as a >> subexpression rather than a top level argument. >> >> Also, for the patch mode third rule should behave same as >> second

Re: [PATCH] Coccinelle: noderef: Add a rule and correct the old rule

2016-05-05 Thread Julia Lawall
On Wed, 27 Apr 2016, Vaishali Thakkar wrote: > Add a new rule to detect the cases where sizeof is used as a > subexpression rather than a top level argument. > > Also, for the patch mode third rule should behave same as > second rule with arguments reversed. So, change that as well. > > Signed