Re: [PATCH] coccinelle: use exists to improve efficiency

2017-11-15 Thread Masahiro Yamada
2017-11-13 0:02 GMT+09:00 Julia Lawall : > This just needs to find any reassignment of the loop iterator, and doesn't > need such a thing on all execution paths, so use exists on the first rule. > > Signed-off-by: Julia Lawall > > --- > > diff --git

Re: [PATCH] coccinelle: use exists to improve efficiency

2017-11-15 Thread Masahiro Yamada
2017-11-13 0:02 GMT+09:00 Julia Lawall : > This just needs to find any reassignment of the loop iterator, and doesn't > need such a thing on all execution paths, so use exists on the first rule. > > Signed-off-by: Julia Lawall > > --- > > diff --git

[PATCH] coccinelle: use exists to improve efficiency

2017-11-12 Thread Julia Lawall
This just needs to find any reassignment of the loop iterator, and doesn't need such a thing on all execution paths, so use exists on the first rule. Signed-off-by: Julia Lawall --- diff --git a/scripts/coccinelle/iterators/list_entry_update.cocci

[PATCH] coccinelle: use exists to improve efficiency

2017-11-12 Thread Julia Lawall
This just needs to find any reassignment of the loop iterator, and doesn't need such a thing on all execution paths, so use exists on the first rule. Signed-off-by: Julia Lawall --- diff --git a/scripts/coccinelle/iterators/list_entry_update.cocci