mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-05 18:27:59 +00:00
VerifyLineLength() actually takes a max length parameter.
llvm-svn: 61593
This commit is contained in:
parent
a0007f190a
commit
1969e75214
@ -65,9 +65,11 @@ def VerifyIncludes(filename, lines):
|
||||
|
||||
|
||||
class CppLint(common_lint.BaseLint):
|
||||
MAX_LINE_LENGTH = 80
|
||||
|
||||
def RunOnFile(self, filename, lines):
|
||||
VerifyIncludes(filename, lines)
|
||||
common_lint.VerifyLineLength(filename, lines)
|
||||
common_lint.VerifyLineLength(filename, lines, CppLint.MAX_LINE_LENGTH)
|
||||
common_lint.VerifyTrailingWhitespace(filename, lines)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user