pytorch
3a66a1cb - [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841)

Commit
3 years ago
[clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) Summary: Add cppcoreguidelines-avoid-magic-numbers exclusion to clang-tidy Remove existing nolint warnings using following script: ``` for file in `git ls-files | grep -v \.py`; do gsed '/^ *\/\/ NOLINTNEXTLINE(cppcoreguidelines-avoid-magic-numbers)/d' -i $file; done ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/57841 Reviewed By: samestep Differential Revision: D28295045 Pulled By: malfet fbshipit-source-id: 7c6e8d1213c9593f169ed3df6a916498f1a97163
Author
Parents
Loading