mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Ignore bugprone-lambda-function-name in clang-tidy. (#24190)
Summary: Fixes: https://github.com/pytorch/pytorch/issues/23947. In https://github.com/pytorch/pytorch/pull/23970, I ignored these in dispatch macros, but I think it's more maintainable to just block this globally. And it's a pretty minor issue if it happens anyway. Pull Request resolved: https://github.com/pytorch/pytorch/pull/24190 Differential Revision: D16766329 Pulled By: gchanan fbshipit-source-id: 7ae7b7781562a8974d974f7eefa8ec7551eb09fc
This commit is contained in:
committed by
Facebook Github Bot
parent
4c6c9ffaf8
commit
06c09a266b
@ -5,6 +5,7 @@ Checks: '
|
||||
,bugprone-*
|
||||
,-bugprone-forward-declaration-namespace
|
||||
,-bugprone-macro-parentheses
|
||||
,-bugprone-lambda-function-name
|
||||
,cppcoreguidelines-*
|
||||
,-cppcoreguidelines-interfaces-global-init
|
||||
,-cppcoreguidelines-owning-memory
|
||||
|
Reference in New Issue
Block a user