[BE]: Enable readability-simplify-subscript-expr clang-tidy check (#116356)

[BE]: enable clang-tidy check for readability-simplify-subscript-expr which looks for unnecessarily complex subscripting of the underlying data array of STL types.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/116356
Approved by: https://github.com/lezcano
This commit is contained in:
Aaron Gokaslan
2023-12-27 20:22:20 +00:00
committed by PyTorch MergeBot
parent 8d84b5041c
commit 83502feabe

View File

@ -56,6 +56,7 @@ readability-delete-null-pointer,
readability-duplicate-include
readability-misplaced-array-index,
readability-redundant-smartptr-get,
readability-simplify-subscript-expr,
readability-string-compare,
'
HeaderFilterRegex: '^(aten/|c10/|torch/).*$'