Skip to content

Commit

Permalink
[BE]: Enable readability-redundant-function-ptr-dereference check (py…
Browse files Browse the repository at this point in the history
…torch#116538)

Enable an additional clang-tidy check to remove redundant function ptr dereferences to help make the code more readable.
Pull Request resolved: pytorch#116538
Approved by: https://github.com/malfet
  • Loading branch information
Skylion007 authored and pytorchmergebot committed Dec 30, 2023
1 parent 5e58be6 commit c5d9173
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 @@ -55,6 +55,7 @@ readability-container-size-empty,
readability-delete-null-pointer,
readability-duplicate-include
readability-misplaced-array-index,
readability-redundant-function-ptr-dereference,
readability-redundant-smartptr-get,
readability-simplify-subscript-expr,
readability-string-compare,
Expand Down

0 comments on commit c5d9173

Please sign in to comment.