Combine headerscheck and cpluspluscheck scripts
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2024-02-07T16:01:40Z
Lists: pgsql-hackers
Attachments
- 0001-Combine-headerscheck-and-cpluspluscheck-scripts.patch (text/plain) patch 0001
headerscheck started in 55ea1091884 (2019) essentially as an adjusted copy of cpluspluscheck. Since then two scripts have not drifted far apart. But there are occasionally mistakes keeping the two exclude lists updated together. I figure we can just combine the two scripts into one, so it's easier to keep updated. The attached patch adds an option --cplusplus to headerscheck, with which it does the same thing as cpluspluscheck, and cpluspluscheck is removed. The top-level make targets stay the same.
Commits
-
Update src/tools/pginclude/README to match recent changes to cpluspluscheck
- e0d51e3bf454 17.0 landed
-
Combine headerscheck and cpluspluscheck scripts
- 7b8e2ae2fd3b 17.0 landed