commit 5fa62fffee1972093798ed356884ef331dcd4ecc
parent 7036ed34715678d64a9bfee99db69830f44d8912
Author: Nick Mathewson <nickm@torproject.org>
Date: Thu, 6 Feb 2020 16:24:36 -0500
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:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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