serge-sans-paille
515bc8c155
Harmonize Python shebang
...
Differential Revision: https://reviews.llvm.org/D83857
2020-07-16 21:53:45 +02:00
Eric Christopher
e5e593e9e3
[Support/Utils] As part of using inclusive language within the
...
llvm project, migrate away from the use of blacklist and whitelist.
2020-06-20 00:15:50 -07:00
Serge Guelton
4a27478a5b
Python compat - print statement
...
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
2019-01-03 14:11:33 +00:00
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