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

Follows #137407

Pull Request resolved: https://github.com/pytorch/pytorch/pull/137459
Approved by: https://github.com/Skylion007
This commit is contained in:
cyy
2024-10-08 19:05:00 +00:00
committed by PyTorch MergeBot
parent b41fc14072
commit a2396b2dd8
59 changed files with 138 additions and 231 deletions

View File

@ -4,12 +4,10 @@
#include <optional>
#include <vector>
namespace torch {
namespace lazy {
namespace torch::lazy {
std::optional<SourceLocation> TORCH_PYTHON_API GetPythonFrameTop();
std::vector<SourceLocation> TORCH_PYTHON_API GetPythonFrames();
} // namespace lazy
} // namespace torch
} // namespace torch::lazy