Summary: `-Wextra-semi` or `-Wextra-semi-stmt` If the code compiles, this is safe to land. Test Plan: Sandcastle Reviewed By: palmje Differential Revision: D51995078 Pull Request resolved: https://github.com/pytorch/pytorch/pull/115761 Approved by: https://github.com/Skylion007