Combine headerscheck and cpluspluscheck scripts
authorPeter Eisentraut <peter@eisentraut.org>
Sun, 10 Mar 2024 06:33:57 +0000 (07:33 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Sun, 10 Mar 2024 06:56:17 +0000 (07:56 +0100)
commit7b8e2ae2fd3bec55e2d8c51e49871954851b5df8
tree1ca8b482b6265198c6b5d1a546db41c9626edf22
parentf696c0cd5f299f1b51e214efc55a22a782cc175d
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
GNUmakefile.in
src/tools/pginclude/cpluspluscheck [deleted file]
src/tools/pginclude/headerscheck