diff options
author | Nicolas Palix <npalix@diku.dk> | 2010-08-24 17:39:12 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-08-31 11:43:13 +0200 |
commit | 49ab7a39136566eb8312e770031af4182c9f2967 (patch) | |
tree | dd149432c1cb4e872535e1f1c12d78ef4144c928 /arch/.gitignore | |
parent | Coccinelle: Add misc/doubleinit.cocci (diff) | |
download | linux-49ab7a39136566eb8312e770031af4182c9f2967.tar.xz linux-49ab7a39136566eb8312e770031af4182c9f2967.zip |
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>
Diffstat (limited to 'arch/.gitignore')
0 files changed, 0 insertions, 0 deletions