[clang-tools-extra] 8d8535e - [clang-tidy][NFC] Disable misc-include-cleaner check (#221417)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 5 01:24:47 PDT 2026
Author: Baranov Victor
Date: 2026-09-05T11:24:42+03:00
New Revision: 8d8535e9846d2ff035aae345eda3a30aa24fe36e
URL: https://github.com/llvm/llvm-project/commit/8d8535e9846d2ff035aae345eda3a30aa24fe36e
DIFF: https://github.com/llvm/llvm-project/commit/8d8535e9846d2ff035aae345eda3a30aa24fe36e.diff
LOG: [clang-tidy][NFC] Disable misc-include-cleaner check (#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.
Added:
Modified:
clang-tools-extra/clang-tidy/.clang-tidy
Removed:
################################################################################
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