diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-02-06 16:24:36 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-02-06 16:25:56 -0500 |
commit | 5fa62fffee1972093798ed356884ef331dcd4ecc (patch) | |
tree | 8bd3b2e0c15e45d00fff1be00a34bf8bba3fac26 /scripts/maint | |
parent | 7036ed34715678d64a9bfee99db69830f44d8912 (diff) | |
download | tor-5fa62fffee1972093798ed356884ef331dcd4ecc.tar.gz tor-5fa62fffee1972093798ed356884ef331dcd4ecc.zip |
checkSpace: permit wide lines for LCOV_EXCL
We're telling clang-format that a line with LCOV_EXCL must not be
split -- that's fine, but we shouldn't complain when it indents it.
Diffstat (limited to 'scripts/maint')
-rwxr-xr-x | scripts/maint/checkSpace.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/maint/checkSpace.pl b/scripts/maint/checkSpace.pl index 27615f910c..857ce6f6f1 100755 --- a/scripts/maint/checkSpace.pl +++ b/scripts/maint/checkSpace.pl @@ -130,7 +130,7 @@ for my $fn (@ARGV) { ## Terminals are still 80 columns wide in my world. I refuse to ## accept double-line lines. # (Don't make lines wider than 80 characters, including newline.) - if (/^.{80}/) { + if (/^.{80}/ and not /LCOV_EXCL/) { msg "Wide:$fn:$.\n"; } ### Juju to skip over comments and strings, since the tests |