Enable clang-analyzer checks of Clang-tidy (#144222)

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/144222
Approved by: https://github.com/Skylion007
This commit is contained in:
cyy 2025-01-06 15:44:45 +00:00 committed by PyTorch MergeBot
parent bba672e117
commit 9225f149eb

View File

@ -13,6 +13,10 @@ bugprone-*,
-bugprone-reserved-identifier, -bugprone-reserved-identifier,
-bugprone-swapped-arguments, -bugprone-swapped-arguments,
-bugprone-unchecked-optional-access, -bugprone-unchecked-optional-access,
clang-analyzer-core.*,
clang-analyzer-cplusplus.*,
clang-analyzer-nullability.*,
clang-analyzer-deadcode.*,
clang-diagnostic-missing-prototypes, clang-diagnostic-missing-prototypes,
cppcoreguidelines-*, cppcoreguidelines-*,
-cppcoreguidelines-avoid-do-while, -cppcoreguidelines-avoid-do-while,