Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Clang Tidy] Fix misc-header-include-cycle errors in clang-tidy and i…
…gnore some files (pytorch#127233) Since there are such cycles in libfmt and PyTorch, which are detected by clang-tidy. ``` /home/cyy/pytorch/third_party/fmt/include/fmt/format-inl.h:25:10: error: circular header file dependency detected while including 'format.h', please check the include path [misc-header-include-cycle,-warnings-as-errors] 25 | #include "format.h" | ^ /home/cyy/pytorch/third_party/fmt/include/fmt/format.h:4530:12: note: 'format-inl.h' included from here 4530 | # include "format-inl.h" ``` Pull Request resolved: pytorch#127233 Approved by: https://github.com/ezyang
- Loading branch information