[llvm-commits] [llvm] r61593 - /llvm/trunk/utils/lint/cpp_lint.py
Misha Brukman
brukman+llvm at gmail.com
Fri Jan 2 13:24:29 PST 2009
Author: brukman
Date: Fri Jan 2 15:24:29 2009
New Revision: 61593
URL: http://llvm.org/viewvc/llvm-project?rev=61593&view=rev
Log:
VerifyLineLength() actually takes a max length parameter.
Modified:
llvm/trunk/utils/lint/cpp_lint.py
Modified: llvm/trunk/utils/lint/cpp_lint.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lint/cpp_lint.py?rev=61593&r1=61592&r2=61593&view=diff
==============================================================================
--- llvm/trunk/utils/lint/cpp_lint.py (original)
+++ llvm/trunk/utils/lint/cpp_lint.py Fri Jan 2 15:24:29 2009
@@ -65,9 +65,11 @@
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)
More information about the llvm-commits
mailing list