remove useless clang-tidy suppression (#92287)

remove NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
remove NOLINTNEXTLINE(performance-move-const-arg)
remove NOLINTNEXTLINE(performance-no-automatic-move)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/92287
Approved by: https://github.com/albanD
This commit is contained in:
cyy
2023-01-21 02:33:24 +00:00
committed by PyTorch MergeBot
parent 5489b32337
commit 85851b1e8f
23 changed files with 10 additions and 61 deletions

View File

@ -286,7 +286,6 @@ struct TORCH_API AutogradMeta : public c10::AutogradMetaInterface {
uint64_t level,
bool is_inplace_op) override;
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
AutogradMeta(
at::TensorImpl* self_impl = nullptr,
bool requires_grad = false,