mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 23:32:58 +00:00
VerifyLineLength() actually takes a max length parameter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61593 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
653222fc99
commit
27c1e89a4b
@ -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…
x
Reference in New Issue
Block a user