Re: [PATCH 00/32] lib: Finish rearrangement of includes and license headers
Florian Bezdeka <[email protected]>
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 2026-05-08 at 16:15 +0200, Jan Kiszka wrote: > On 08.05.26 08:22, Florian Bezdeka wrote: > > Hi all, > > > > This is the missing cleanup of demo/, lib/, testuite/ and utils/ that > > was partially handled already in the past as preparation commits for > > bugfixes or build optimizations. I finally found some time to finish > > that work for the missing folders. > > > > There might be even more potential for cleanups inside the include/ > > directory - and as a result once again inside the already cleaned > > directories. I skipped that for now, as I consider include/ as an API. > > Changes might force users to adapt/recompile. > > > > Tested against Dovetail 7.0 already. > > > > How did you retrieve the header needs and coverage again, manually, > script-based or AI? And what do you suggest to maintain consistency in > the future? > Sorry, forgot to mention that. Formatting and sorting of includes: clang-format (with the option enabled in the last patch) Indexer: The indexer part of JetBrains Clion. Used to find and eliminate unused includes. Followed by a manual compile to verify the result after each compile unit. No AI. I haven't checked yet if there is any command line tool for identifying unused includes yet. If so, we might be able to integrate something into CI - on the long run. For the formatting part clang-format is able to report differences - or formatting violations. At the moment the code base is not ready for that yet. Too much differences. Step by step. > Jan > > -- > Siemens AG, Foundational Technologies > Linux Expert Center