tools: Add lint for CONSTEXPR (#94089)
Adds a lint for CONSTEXPR to have us prefer to use macros for cuda files to support VS2017 compilations on windows internally (Meta)
Follow up to https://github.com/pytorch/pytorch/pull/94091
Signed-off-by: Eli Uriegas <eliuriegas@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/94089
Approved by: https://github.com/malfet