projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
653222f
)
VerifyLineLength() actually takes a max length parameter.
author
Misha Brukman
<brukman+llvm@gmail.com>
Fri, 2 Jan 2009 21:24:29 +0000
(21:24 +0000)
committer
Misha Brukman
<brukman+llvm@gmail.com>
Fri, 2 Jan 2009 21:24:29 +0000
(21:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61593
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/lint/cpp_lint.py
patch
|
blob
|
history
diff --git
a/utils/lint/cpp_lint.py
b/utils/lint/cpp_lint.py
index e26fb707c9676332c42280e029f3b1afa3a47d5b..ca81bfe35d8ac8160e84823911f395efaab96e3b 100755
(executable)
--- a/
utils/lint/cpp_lint.py
+++ b/
utils/lint/cpp_lint.py
@@
-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)