The commit itself should be fixed with clang-format --style=file -i [filename]
iirc the command or use the pre-commit
python package to not let you push if it fails the pre-commit
config and it fixes this for you.
The format check is per commit therefore, pushing a new commit with a format fix won't do it.
After fixing the format, rebase and fixup the changes into 1 commit and then force push, so it can pass the checks.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.