[clang-tools-extra] [clang-tidy][NFC] Disable misc-include-cleaner check (PR #221417)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 5 00:47:23 PDT 2026
https://github.com/vbvictor created https://github.com/llvm/llvm-project/pull/221417
This checks seem to give too many FP, disabling it for now.
E.g. it wants to always remove `SmallString.h` even if the header is actually needed.
>From 90ec2ea1b47959086a0280b75f66db5f8aa8f833 Mon Sep 17 00:00:00 2001
From: Victor Baranov <bar.victor.2002 at gmail.com>
Date: Sat, 5 Sep 2026 10:42:44 +0300
Subject: [PATCH] [clang-tidy][NFC] Disable misc-include-cleaner check
---
clang-tools-extra/clang-tidy/.clang-tidy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang-tools-extra/clang-tidy/.clang-tidy b/clang-tools-extra/clang-tidy/.clang-tidy
index 38caf5ccb555c..8ba9f07074354 100644
--- a/clang-tools-extra/clang-tidy/.clang-tidy
+++ b/clang-tools-extra/clang-tidy/.clang-tidy
@@ -19,7 +19,7 @@ Checks: >
google-readability-casting,
misc-const-correctness,
-misc-explicit-constructor,
- misc-include-cleaner,
+ -misc-include-cleaner,
modernize-*,
-modernize-avoid-c-arrays,
-modernize-pass-by-value,
More information about the cfe-commits
mailing list