pgsql: Combine headerscheck and cpluspluscheck scripts
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: /messages/by-id/4754a5b0-a32b-4036-a99a-6de14cf9fd72@eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/7b8e2ae2fd3bec55e2d8c51e49871954851b5df8
Modified Files
--------------
GNUmakefile.in | 2 +-
src/tools/pginclude/cpluspluscheck | 226 -------------------------------------
src/tools/pginclude/headerscheck | 58 +++++++++-
3 files changed, 55 insertions(+), 231 deletions(-)