pgsql: Rearrange cpluspluscheck to check just one .h file at a time. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Rearrange cpluspluscheck to check just one .h file at a time.
Date
Msg-id E1PXHEy-00075v-BR@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Rearrange cpluspluscheck to check just one .h file at a time.

This is slower than the original coding but avoids the problem of
including files in an unpredictable order.  Aside from being more
trustworthy, we can get rid of some exclusions that were formerly
made for what turn out to be ordering or re-inclusion problems.

I also modified it to include libpq's exported files in the check.
ecpg should be included as well, but I'm unclear on which ecpg .h
files are meant to be included by clients.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=8c61f81b3196fe9757901e90e3fc1b30283d3995

Modified Files
--------------
src/tools/pginclude/cpluspluscheck |   51 ++++++++++++++++++-----------------
1 files changed, 26 insertions(+), 25 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix failure of executor/hashjoin.h to compile standalone.
Next
From: Tom Lane
Date:
Subject: pgsql: Rename the C functions bitand(), bitor() to bit_and(), bit_or().