android_kernel_samsung_msm8976/scripts/coccinelle
Nicolas Palix 49ab7a3913 Coccinelle: Add misc/ifcol.cocci
Find confusingly indented code in or after an if.  An if branch should
be indented.  The code following an if should not be indented.
Sometimes, code after an if that is indented is actually intended to be
part of the if branch.

This has a high rate of false positives, because Coccinelle's column
calculation does not distinguish between spaces and tabs, so code that
is not visually aligned may be considered to be in the same column.

Signed-off-by: Nicolas Palix <npalix@diku.dk>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2010-08-31 11:43:13 +02:00
..
api Coccinelle: Move alloc directory into api directory 2010-08-31 11:43:13 +02:00
free Coccinelle: Add free/kfree.cocci 2010-08-31 11:37:53 +02:00
iterators Coccinelle: Add iterators/list_entry_update.cocci 2010-08-31 11:37:53 +02:00
locks Coccinelle: Add locks/mini_lock.cocci 2010-08-31 11:37:53 +02:00
misc Coccinelle: Add misc/ifcol.cocci 2010-08-31 11:43:13 +02:00
null Coccinelle: Move deref_null.cocci to a more appropriate directory 2010-08-31 11:37:53 +02:00