llvm.org GIT mirror llvm / 27c1e89
VerifyLineLength() actually takes a max length parameter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61593 91177308-0d34-0410-b5e6-96231b3b80d8 Misha Brukman 11 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
6464
6565
6666 class CppLint(common_lint.BaseLint):
67 MAX_LINE_LENGTH = 80
68
6769 def RunOnFile(self, filename, lines):
6870 VerifyIncludes(filename, lines)
69 common_lint.VerifyLineLength(filename, lines)
71 common_lint.VerifyLineLength(filename, lines, CppLint.MAX_LINE_LENGTH)
7072 common_lint.VerifyTrailingWhitespace(filename, lines)
7173
7274