diff options
| author | 2019-06-23 21:36:31 +0000 | |
|---|---|---|
| committer | 2019-06-23 21:36:31 +0000 | |
| commit | 23f101f37937a1bd4a29726cab2f76e0fb038b35 (patch) | |
| tree | f7da7d6b32c2e07114da399150bfa88d72187012 /gnu/llvm/utils/lint/cpp_lint.py | |
| parent | sort previous; ok deraadt (diff) | |
| download | wireguard-openbsd-23f101f37937a1bd4a29726cab2f76e0fb038b35.tar.xz wireguard-openbsd-23f101f37937a1bd4a29726cab2f76e0fb038b35.zip | |
Import LLVM 8.0.0 release including clang, lld and lldb.
Diffstat (limited to 'gnu/llvm/utils/lint/cpp_lint.py')
| -rwxr-xr-x | gnu/llvm/utils/lint/cpp_lint.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/llvm/utils/lint/cpp_lint.py b/gnu/llvm/utils/lint/cpp_lint.py index 07fad5840fd..2fb8cc93c19 100755 --- a/gnu/llvm/utils/lint/cpp_lint.py +++ b/gnu/llvm/utils/lint/cpp_lint.py @@ -6,6 +6,7 @@ # TODO: add unittests for the verifier functions: # http://docs.python.org/library/unittest.html . +from __future__ import print_function import common_lint import re import sys @@ -86,7 +87,7 @@ class CppLint(common_lint.BaseLint): def CppLintMain(filenames): all_lint = common_lint.RunLintOverAllFiles(CppLint(), filenames) for lint in all_lint: - print '%s:%d:%s' % (lint[0], lint[1], lint[2]) + print('%s:%d:%s' % (lint[0], lint[1], lint[2])) return 0 |
