mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
[ClangTidy] Disable misc-include-cleaner (#122855)
misc-include-cleaner was introduced in clang-tidy-17 as a way to check missing and unused includes. However, there are lots of transitive headers in PyTorch and it would take enormous efforts to add related annotations to them in order to direct this checker. For this reason, it's better to disable it now. Pull Request resolved: https://github.com/pytorch/pytorch/pull/122855 Approved by: https://github.com/cpuhrsch
This commit is contained in:
parent
8c8e4e31f2
commit
d1da9cc654
|
|
@ -36,6 +36,7 @@ hicpp-exception-baseclass,
|
|||
hicpp-avoid-goto,
|
||||
misc-*,
|
||||
-misc-const-correctness,
|
||||
-misc-include-cleaner,
|
||||
-misc-use-anonymous-namespace,
|
||||
-misc-unused-parameters,
|
||||
-misc-no-recursion,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user