clang-tidy patch (#60714)
Summary:
Two changes made here:
1. Set `LANG=C.UTF-8` for clang-tidy so we can properly decode symbols in comment;
2. In case of file removed, `end` could be null and we should skip the chunk/file;
3. tiny bug fix for the loop indent.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/60714
Reviewed By: iramazanli
Differential Revision: D29617171
Pulled By: 1ntEgr8
fbshipit-source-id: b1603929333529a174105baf51e18246d09c012e