pytorch
a0e38164 - Remove relative paths for clang-tidy annotations (#62004)

Commit
3 years ago
Remove relative paths for clang-tidy annotations (#62004) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/62004 Some of the files checked by clang tidy are compiled from a sibling directory, so the files all start with something like `../torch`. This ends up messing with `translate_annotations.py` which runs from the repo root. This fixes it by chopping off any relative paths in the clang tidy output. Test Plan: Imported from OSS Reviewed By: malfet Differential Revision: D29835446 Pulled By: driazati fbshipit-source-id: 2bd279370e41ed0a321e30f88fe38434105c75e8
Author
Parents
Loading