Revert D31359010: [pytorch][PR] Fix cang-tidy regressions caused by #65954
Test Plan: revert-hammer
Differential Revision:
D31359010 (https://github.com/pytorch/pytorch/commit/c269f471f45be536bdbdc41ac681ccb730877ece)
Original commit changeset: dce4b91a9891
fbshipit-source-id: 085417432b6748d3672b9b7141460f47d1c17a7f