diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-04-29 07:57:36 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2021-05-20 16:29:13 +0200 |
commit | 435e659a03d12e98bb0502634d22002685b71ec9 (patch) | |
tree | a0e28a12557dd318ba901d39a9a5866b9c444182 /util/check-format-test-positives.c | |
parent | ff3810332483f79b55f90db0ca9f93145d8f06b5 (diff) |
check-format.pl: Report needless intermediate multiple SPC only on -e or --extra-spc
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15077)
Diffstat (limited to 'util/check-format-test-positives.c')
-rw-r--r-- | util/check-format-test-positives.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/check-format-test-positives.c b/util/check-format-test-positives.c index 89dcf073ce..2c18a58257 100644 --- a/util/check-format-test-positives.c +++ b/util/check-format-test-positives.c @@ -48,10 +48,10 @@ */ /*@ unexpected comment ending delimiter outside comment */ /*@ comment line is 4 columns tooooooooooooooooo wide, reported unless sloppy-len */ /*@ comment line is 5 columns toooooooooooooooooooooooooooooooooooooooooooooo wide */ -#define X 1 /*@0 double space false negative due to coincidence */ +#define X 1 /*@0 extra space false negative due to coincidence */ #define Y 2 /*@ indent of preprocessor directive off by 1 (must be 0) */ -typedef struct { /*@0 double space in code, reported unless sloppy-spc */ - enum { /*@1 double space in comment, reported unless sloppy-spc */ +typedef struct { /*@0 extra space in code, reported unless sloppy-spc */ + enum { /*@1 extra space in comment, reported unless sloppy-spc */ w = 0 /*@2 hanging expr indent off by 1, or 3 for lines after '{' */ && 1, /*@ hanging expr indent off by 3, or -1 for leading '&&' */ x = 1, /*@ hanging expr indent off by -1 */ |