aboutsummaryrefslogtreecommitdiffstats
path: root/utils/lint
Commit message (Collapse)AuthorAgeFilesLines
* * Fixed spellingMisha Brukman2009-02-202-17/+68
| | | | | | | | | * Linters now return their information instead of printing it, to enable easier unittesting * Added support for finding tabs in files, added to C++ linter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65202 91177308-0d34-0410-b5e6-96231b3b80d8
* Keep the newline character at the end of the lines whose trailing whitespace weMisha Brukman2009-02-201-1/+1
| | | | | | | are deleting; otherwise, everything ends up on a single line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65185 91177308-0d34-0410-b5e6-96231b3b80d8
* Only strip the newline character at the end of the lines that we're consideringMisha Brukman2009-02-201-2/+2
| | | | | | | | for length and for trailing whitespace; otherwise, the whitespace themselves will also be removed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65182 91177308-0d34-0410-b5e6-96231b3b80d8
* Be sure to ignore the end-of-line character when considering trailingMisha Brukman2009-01-081-2/+2
| | | | | | | whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61905 91177308-0d34-0410-b5e6-96231b3b80d8
* VerifyLineLength() actually takes a max length parameter.Misha Brukman2009-01-021-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61593 91177308-0d34-0410-b5e6-96231b3b80d8
* Added some basic lint tools for C++ and generic lint tool applicable to allMisha Brukman2009-01-024-0/+168
types of files (TableGen, LLVM assembly, HTML files, etc.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61592 91177308-0d34-0410-b5e6-96231b3b80d8