Misha Brukman
9259905f88
* Fixed spelling
...
* 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
2009-02-20 23:44:54 +00:00
Misha Brukman
d5ece81cc7
Keep the newline character at the end of the lines whose trailing whitespace we
...
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
2009-02-20 22:30:46 +00:00
Misha Brukman
4c4c952543
Only strip the newline character at the end of the lines that we're considering
...
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
2009-02-20 22:28:45 +00:00
Misha Brukman
cb5852d1f7
Be sure to ignore the end-of-line character when considering trailing
...
whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61905 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-08 02:16:13 +00:00
Misha Brukman
27c1e89a4b
VerifyLineLength() actually takes a max length parameter.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61593 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-02 21:24:29 +00:00
Misha Brukman
653222fc99
Added some basic lint tools for C++ and generic lint tool applicable to all
...
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
2009-01-02 21:15:30 +00:00