Skip to content

Commit

Permalink
[BE]: Enable readability-simplify-subscript-expr clang-tidy check (py…
Browse files Browse the repository at this point in the history
…torch#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: pytorch#116356
Approved by: https://github.com/lezcano
  • Loading branch information
Skylion007 authored and pytorchmergebot committed Dec 27, 2023
1 parent 8d84b50 commit 83502fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -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/).*$'
Expand Down

0 comments on commit 83502fe

Please sign in to comment.