From 6d57f584de9ef0efd755db533bf766a09816a9c8 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Tue, 20 May 2025 12:28:15 +0200 Subject: [PATCH] clang-tidy: Enable misc-include-cleaner check The previous commit fixes all remaining violations of the check for a very specific setup (Fedora Rawhide with as many dependencies as possible installed). The linter job in CI runs that specific setup so we enable the check in the clang-tidy config but do not yet enable the clang-tidy test suite in meson by default as it will very likely still fail in different setups than the one in CI. --- .clang-tidy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index 03d45185d92..fe0cab6c987 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -4,7 +4,8 @@ Checks: ' -*, misc-header-include-cycle, readability-duplicate-include, - bugprone-argument-comment + bugprone-argument-comment, + misc-include-cleaner ' CheckOptions: misc-include-cleaner.MissingIncludes: 'false' -- 2.47.3