[LLVMdev] update simple style checker... handle globs and recursion now

reed kotler rkotler at mips.com
Fri Jun 1 19:46:36 PDT 2012


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: style_check_patch3.txt
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120601/af7d5d19/attachment.txt>


More information about the llvm-dev mailing list