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 <[email protected]>
Reviewed-by: Michael Paquier <[email protected]>
Discussion: 
https://www.postgresql.org/message-id/flat/[email protected]

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(-)

Reply via email to