[Reland] increase clang-tidy coverage in torch/csrc (#108875)

Reland  PR #103058 since there was a time gap between this PR and other PRs in terms of torch/csrc modifications

Pull Request resolved: https://github.com/pytorch/pytorch/pull/108875
Approved by: https://github.com/Skylion007
This commit is contained in:
cyy
2023-09-12 00:54:53 +00:00
committed by PyTorch MergeBot
parent b6f9d4dbc4
commit f150f96255
11 changed files with 42 additions and 41 deletions

View File

@ -44,7 +44,7 @@ modernize-*,
performance-*,
readability-container-size-empty,
'
HeaderFilterRegex: '^(c10/(?!test)|torch/csrc/(?!deploy/interpreter/cpython)).*$'
HeaderFilterRegex: '^(c10/(?!test)|torch/csrc/).*$'
AnalyzeTemporaryDtors: false
WarningsAsErrors: '*'
...