clang-tidy: Fix all remaining misc-include-cleaner violations

- Remove unused includes
- Add common false positive headers to misc-include-cleaner.IgnoreHeaders
- Add IWYU pragma keep for uncommon false positive headers
This commit is contained in:
Daan De Meyer
2025-11-22 10:19:41 +01:00
parent d11ce97386
commit 87fbd33372
123 changed files with 138 additions and 147 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
#include <sys/uio.h>
#endif
#include "assert-fundamental.h"
#include "assert-fundamental.h" /* IWYU pragma: keep */
#include "macro-fundamental.h"
#if SD_BOOT
+1 -1
View File
@@ -77,7 +77,7 @@ modified for use with systemd
*/
#if SD_BOOT
# include "efi-string.h"
# include "efi-string.h" /* IWYU pragma: keep */
#else
# include <string.h>
#endif
+1 -1
View File
@@ -22,7 +22,7 @@
<https://www.gnu.org/licenses/>. */
#if SD_BOOT
# include "efi-string.h"
# include "efi-string.h" /* IWYU pragma: keep */
#else
# include <string.h>
#endif
+1 -1
View File
@@ -8,7 +8,7 @@
# include <string.h>
#endif
#include "assert-fundamental.h"
#include "assert-fundamental.h" /* IWYU pragma: keep */
#include "macro-fundamental.h"
/* What is interpreted as whitespace? */