[5/N] Fix extra warnings brought by clang-tidy-17 (#138403)

Follows #137983
Pull Request resolved: https://github.com/pytorch/pytorch/pull/138403
Approved by: https://github.com/ezyang
This commit is contained in:
cyy
2024-10-21 02:59:53 +00:00
committed by PyTorch MergeBot
parent 82eb09aafd
commit a05b64a38f
17 changed files with 39 additions and 43 deletions

View File

@ -281,6 +281,7 @@ class GetBacktraceImpl {
}
private:
// NOLINTNEXTLINE(cppcoreguidelines-avoid-const-or-ref-data-members)
const bool skip_python_frames_;
std::vector<void*> callstack_;
};