Misha Brukman
0f35659b9a
* 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
llvm-svn: 65202
2009-02-20 23:44:54 +00:00
Misha Brukman
5e5503f5da
Keep the newline character at the end of the lines whose trailing whitespace we
...
are deleting; otherwise, everything ends up on a single line.
llvm-svn: 65185
2009-02-20 22:30:46 +00:00
Misha Brukman
f2e5bd8d22
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.
llvm-svn: 65182
2009-02-20 22:28:45 +00:00
Misha Brukman
687501fdd4
Be sure to ignore the end-of-line character when considering trailing
...
whitespace.
llvm-svn: 61905
2009-01-08 02:16:13 +00:00
Misha Brukman
a250160ec7
VerifyLineLength() actually takes a max length parameter.
...
llvm-svn: 61593
2009-01-02 21:24:29 +00:00
Misha Brukman
9d7b49bfd1
Added some basic lint tools for C++ and generic lint tool applicable to all
...
types of files (TableGen, LLVM assembly, HTML files, etc.)
llvm-svn: 61592
2009-01-02 21:15:30 +00:00