reed kotler
2012-Jun-02 02:46 UTC
[LLVMdev] update simple style checker... handle globs and recursion now
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>
reed kotler
2012-Jun-02 02:48 UTC
[LLVMdev] update simple style checker... handle globs and recursion now
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 subdirectoriesthat is when I run it on the Target subdirectories