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
@@ -10,7 +10,7 @@
#include "resolved-dns-delegate.h"
#include "resolved-dns-delegate-bus.h"
#include "resolved-dns-search-domain.h"
#include "resolved-dns-server.h"
#include "resolved-dns-server.h" /* IWYU pragma: keep */
#include "resolved-manager.h"
#include "strv.h"
+1 -2
View File
@@ -1,13 +1,12 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <resolv.h>
#include <resolv.h> /* IWYU pragma: keep */
#include <sys/stat.h>
#include "alloc-util.h"
#include "fd-util.h"
#include "fileio.h"
#include "fs-util.h"
#include "label-util.h"
#include "log.h"
#include "ordered-set.h"
#include "path-util.h"
+1
View File
@@ -16,6 +16,7 @@
#include "dns-packet.h"
#include "dns-question.h"
#include "dns-rr.h"
#include "errno-util.h"
#include "fd-util.h"
#include "log.h"
#include "path-util.h"