Combine headerscheck and cpluspluscheck scripts

Peter Eisentraut <peter@eisentraut.org>

Commit: 7b8e2ae2fd3bec55e2d8c51e49871954851b5df8
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2024-03-10T06:56:17Z
Releases: 17.0
Combine headerscheck and cpluspluscheck scripts

They are mostly the same, and it is tedious to maintain two copies of
essentially the same exclude list.  headerscheck now has a new option
--cplusplus to select the cpluspluscheck functionality.  The top-level
make targets are still the same.

Reviewed-by: Thomas Munro <thomas.munro@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://www.postgresql.org/message-id/flat/4754a5b0-a32b-4036-a99a-6de14cf9fd72@eisentraut.org

Files

PathChange+/−
GNUmakefile.in modified +1 −1
src/tools/pginclude/cpluspluscheck deleted +0 −226
src/tools/pginclude/headerscheck modified +54 −4

Discussion