Re: backend *.c #include cleanup (IWYU) - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: backend *.c #include cleanup (IWYU)
Date
Msg-id 20240210201309.GA1028071@nathanxps13
Whole thread Raw
In response to backend *.c #include cleanup (IWYU)  (Peter Eisentraut <peter@eisentraut.org>)
Responses Re: backend *.c #include cleanup (IWYU)
List pgsql-hackers
On Sat, Feb 10, 2024 at 08:40:43AM +0100, Peter Eisentraut wrote:
> The purpose of this patch is twofold: One, it's of course a nice cleanup.
> Two, this is a test how well IWYU might work for us.  If we find either by
> human interpretation that a change doesn't make sense, or something breaks
> on some platform, then that would be useful feedback (perhaps to addressed
> by more pragma annotations or more test coverage).
> 
> (Interestingly, IWYU has been mentioned in src/tools/pginclude/README since
> 2012.  Has anyone else played with it?  Was it not mature enough back then?)

I haven't played with it at all, but the topic reminds me of this thread:

    https://postgr.es/m/flat/CALDaNm1B9naPDTm3ox1m_yZvOm3KA5S4kZQSWWAeLHAQ%3D3gV1Q%40mail.gmail.com

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [PATCH] Add native windows on arm64 support
Next
From: Nathan Bossart
Date:
Subject: Re: glibc qsort() vulnerability