VerifyLineLength() actually takes a max length parameter.

llvm-svn: 61593
This commit is contained in:
Misha Brukman 2009-01-02 21:24:29 +00:00
parent a0007f190a
commit 1969e75214

View File

@ -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)