Meta: Disable misc-include-cleaner in clang-tidy

IncludeCleaner is a new feature of clang-tidy/clangd that adds upstream
support for the include-what-you-use (IWYU) tool's checks.

However, this tool is very noisy on our codebase. It can be enabled by
individual contributors at their leisure.
This commit is contained in:
Andrew Kaster 2024-02-05 04:22:03 -07:00 committed by Andrew Kaster
parent 3e43d15440
commit 3078572f0d

View file

@ -8,6 +8,7 @@
# cert-dcl51-cpp: Alias for bugprone-reserved-identifier
# cert-dcl21-cpp: No reference to this rule exists on Carnegie Mellon's SEI CERT C++ Confluence. And the suggestion is unusual
# misc-no-recursion: The project uses recursive algorithms in several places.
# misc-include-cleaner: This check is nice for cleanliness, but is very very noisy
# FIXME: misc-non-private-member-variables-in-classes: Audit uses of protected member variables to see if they really need to be protected
# performance-noexcept-move-constructor: The project does not use exceptions, so there are no such optimizations available
# performance-no-int-to-ptr: This rule flags every pointer to integer cast, which gets quite noisy. Should only be enabled on a case-by-case basis
@ -30,6 +31,7 @@ Checks: >
-bugprone-macro-parentheses,
-bugprone-reserved-identifier,-cert-dcl37-c,-cert-dcl51-cpp,
-cert-dcl21-cpp,
-misc-include-cleaner,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
-misc-use-anonymous-namespace,