mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[BE]: enable readability-delete-null-pointer clang-tidy check (#116107)
* Enables an additional clang-tidy check that remove unnecessary nullptr checks around delete statements. Pull Request resolved: https://github.com/pytorch/pytorch/pull/116107 Approved by: https://github.com/albanD, https://github.com/malfet
This commit is contained in:
parent
d85314c95c
commit
ae6f1f4a47
|
|
@ -52,6 +52,7 @@ modernize-*,
|
|||
-modernize-use-nodiscard,
|
||||
performance-*,
|
||||
readability-container-size-empty,
|
||||
readability-delete-null-pointer,
|
||||
readability-string-compare,
|
||||
'
|
||||
HeaderFilterRegex: '^(aten/|c10/|torch/).*$'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user