From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | IWYU annotations |
Date: | 2024-12-09 14:35:38 |
Message-ID: | 9395d484-eff4-47c2-b276-8e228526c8ae@eisentraut.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I have done a pass over much of the source code with
include-what-you-use (IWYU) to remove superfluous includes (commits
dbbca2cf299, 9be4e5d293b, ecb5af77987). Along the way I have collected
some pragma annotations to deal with exceptions and special cases and
peculiarities of the PostgreSQL source code header structures (see [0]
for description). Here I'm proposing a set of patches to add such
annotations in commonly useful cases that should deal with most of the
noise.
[0]:
https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md
Attachment | Content-Type | Size |
---|---|---|
0001-IWYU-widely-useful-pragmas.patch | text/plain | 9.0 KB |
0002-IWYU-pragmas-for-catalog-headers.patch | text/plain | 32.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2024-12-09 14:47:55 | Re: FileFallocate misbehaving on XFS |
Previous Message | vignesh C | 2024-12-09 14:13:20 | Re: Adding a '--two-phase' option to 'pg_createsubscriber' utility. |