VerifyLineLength() actually takes a max length parameter.
llvm-svn: 61593
This commit is contained in:
parent
9d7b49bfd1
commit
a250160ec7
|
@ -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