[llvm] Disable clang-tidy misc-include-cleaner (PR #83945)

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 4 18:14:02 PST 2024


https://github.com/joker-eph updated https://github.com/llvm/llvm-project/pull/83945

>From d3f7235728c6ea2ddccd6042e02628809e9b3f95 Mon Sep 17 00:00:00 2001
From: Mehdi Amini <joker.eph at gmail.com>
Date: Mon, 4 Mar 2024 18:13:18 -0800
Subject: [PATCH] Disable clang-tidy misc-include-cleaner

This does not apply well to LLVM which intentionally rely on forward declarations.
Also depending on the config flags passed to CMake the result can be different.
---
 .clang-tidy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.clang-tidy b/.clang-tidy
index 4e1cb114f43b2c..9cece0de812b8e 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,4 +1,4 @@
-Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-const-correctness,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,-misc-use-anonymous-namespace,readability-identifier-naming'
+Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-const-correctness,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,-misc-use-anonymous-namespace,readability-identifier-naming,-misc-include-cleaner'
 CheckOptions:
   - key:             readability-identifier-naming.ClassCase
     value:           CamelCase



More information about the llvm-commits mailing list