pgsql: Combine headerscheck and cpluspluscheck scripts

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Combine headerscheck and cpluspluscheck scripts
Date: 2024-03-10 07:02:10
Message-ID: E1rjDCE-0031g3-4g@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)munro(at)gmail(dot)com>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://www.postgresql.org/message-id/flat/4754a5b0-a32b-4036-a99a-6de14cf9fd72(at)eisentraut(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2024-03-10 23:27:35 pgsql: Fix deparsing of Consts in postgres_fdw ORDER BY
Previous Message Tom Lane 2024-03-10 05:05:08 Re: pgsql: Catalog changes preparing for builtin collation provider.