diff options
| author | Nicolas Palix <[email protected]> | 2010-08-24 17:39:02 +0200 |
|---|---|---|
| committer | Michal Marek <[email protected]> | 2010-08-31 11:37:53 +0200 |
| commit | afc48a82fafe55dbeeaf7c0d83d29cf279cb1c70 (patch) | |
| tree | 5d6c5ff7aa828aeb7d3470ee969c6888526d5ee1 /tools/perf/scripts/python | |
| parent | 4045159253a49a56d117148d67bc86a72762a0d3 (diff) | |
Coccinelle: Add iterators/itnull.cocci
Many iterators have the property that the first argument is always bound
to a real list element, never NULL. False positives arise for some
iterators that do not have this property, or in cases when the loop
cursor is reassigned. The latter should only happen when the matched
code is on the way to a loop exit (break, goto, or return).
Signed-off-by: Nicolas Palix <[email protected]>
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions