curl/scripts
Daniel Stenberg d567cca1de
checksrc: fix SPACEBEFOREPAREN for conditions starting with "*"
The open paren check wants to warn for spaces before open parenthesis
for if/while/for but also for any function call. In order to avoid
catching function pointer declarations, the logic allows a space if the
first character after the open parenthesis is an asterisk.

I also spotted what we did not include "switch" in the check but we should.

This check is a little lame, but we reduce this problem by not allowing
that space for if/while/for/switch.

Reported-by: Emanuele Torre
Closes #11044
2023-04-27 17:24:47 +02:00
..
checksrc.pl checksrc: fix SPACEBEFOREPAREN for conditions starting with "*" 2023-04-27 17:24:47 +02:00
ciconfig.pl copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
cijobs.pl scripts: Fix Appveyor job detection in cijobs.pl 2023-01-25 15:31:45 -08:00
completion.pl copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
contributors.sh copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
contrithanks.sh copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
copyright.pl zuul: stop using this CI service 2023-01-30 15:42:15 +01:00
coverage.sh copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
delta scripts/delta: fix "ambiguous argument" when used in branches 2023-03-18 10:22:58 +01:00
firefox-db2pem.sh copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
installcheck.sh scripts: set file mode +x on all perl and shell scripts 2023-01-05 02:34:24 -05:00
log2changes.pl copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
Makefile.am copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
mk-ca-bundle.pl copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
release-notes.pl copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
singleuse.pl copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
updatemanpages.pl copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00