[LLVMdev] update simple style checker... handle globs and recursion now
reed kotler
rkotler at mips.com
Fri Jun 1 19:48:09 PDT 2012
On 06/01/2012 07:46 PM, reed kotler wrote:
> When I run this now on the Target branch alone, it finds 22,000 errors
> from just simple things like lines too long, tabs and whitespace at
> the end of lines.
>
> More features to come.
>
> Usage: style_check.py arg1 arg2 ... argn [options]
>
> Options:
> -h, --help show this help message and exit
> --no-check-for-tabs don't check for tabs
> --no-check-line-length
> don't check line length
> --max-line-length=MAXLINELENGTH
> specify maximum line length [default 80]
> --no-check-whitespace-at-eol
> don't check for whitespace at the end of a line
> --print-filenames-only
> only print the filename(s) where errors were
> found
> --recursive rescursively walk subdirectories
that is when I run it on the Target subdirectories
More information about the llvm-dev
mailing list