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:
Gregory Chanan
2019-08-12 14:16:04 -07:00
committed by Facebook Github Bot
parent 4c6c9ffaf8
commit 06c09a266b

View File

@ -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