Andy Whitcroft 3e469cdc08 checkpatch: optimise statement scanner when mid-statement
In the middle of a long definition or similar, there is no possibility of
finding a smaller sub-statement.  Optimise this case by skipping statement
aquirey where there are no starts of statement (open brace '{' or
semi-colon ';').  We are likely to scan slightly more than needed still
but this is safest.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-01-10 16:30:50 -08:00
..
2011-09-09 11:45:47 +02:00
2011-06-09 14:04:47 -04:00
2011-03-31 11:26:23 -03:00
2011-05-19 15:59:38 -07:00
2010-10-28 00:32:23 +02:00
2011-06-16 20:40:03 +02:00
2011-08-31 16:12:17 +02:00
2010-03-23 12:26:38 +01:00
2011-06-09 14:04:38 -04:00
2011-03-31 11:26:23 -03:00