[Easy][BE]: Enable clang-tidy check for duplicate includes (#116193)

Adds a clang-tidy check to flag duplicate include files
Pull Request resolved: https://github.com/pytorch/pytorch/pull/116193
Approved by: https://github.com/albanD, https://github.com/malfet
This commit is contained in:
Aaron Gokaslan
2023-12-21 14:58:09 +00:00
committed by PyTorch MergeBot
parent 2dce364634
commit cc2c2c6ca9
6 changed files with 1 additions and 6 deletions

View File

@ -53,6 +53,7 @@ modernize-*,
performance-*,
readability-container-size-empty,
readability-delete-null-pointer,
readability-duplicate-include
readability-string-compare,
'
HeaderFilterRegex: '^(aten/|c10/|torch/).*$'