summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lint/common_lint.py
Commit message (Collapse)AuthorAgeFilesLines
* Python compat - print statementSerge Guelton2019-01-031-1/+2
| | | | | | | | | Make sure all print statements are compatible with Python 2 and Python3 using the `from __future__ import print_function` statement. Differential Revision: https://reviews.llvm.org/D56249 llvm-svn: 350307
* * Fixed spellingMisha Brukman2009-02-201-7/+46
| | | | | | | | * Linters now return their information instead of printing it, to enable easier unittesting * Added support for finding tabs in files, added to C++ linter llvm-svn: 65202
* 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. llvm-svn: 65182
* Be sure to ignore the end-of-line character when considering trailingMisha Brukman2009-01-081-2/+2
| | | | | | whitespace. llvm-svn: 61905
* Added some basic lint tools for C++ and generic lint tool applicable to allMisha Brukman2009-01-021-0/+58
types of files (TableGen, LLVM assembly, HTML files, etc.) llvm-svn: 61592
OpenPOWER on IntegriCloud