[llvm-commits] simple style checker

reed kotler rkotler at mips.com
Tue May 29 20:26:29 PDT 2012


I made this simple python script to check for long lines and lines with 
tabs.
If it will be useful, I will add more of the style rules to it.

Default is 80 character maximum lines and checking for tabs.

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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: style_patch.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120529/450c6bbd/attachment.txt>


More information about the llvm-commits mailing list