Stop running clang-tidy on torch/csrc/generic/*.cpp. (#46335)
Summary:
Those files are never directly built, only included in other files.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/46335
Reviewed By: albanD
Differential Revision: D24316737
Pulled By: gchanan
fbshipit-source-id: 67bb95e7f4450e3bbd0cd54f15fde9b6ff177479