DescentDevelopers / Descent3

Descent 3 by Outrage Entertainment
GNU General Public License v3.0
2.73k stars 231 forks source link

Make sure that everything is Clang formatted #480

Open Jayman2000 opened 2 days ago

Jayman2000 commented 2 days ago

Pull Request Type

Description

This PR does multiple clang-format related things:

  1. It revamps tools/formatter.sh.

  2. It fixes and re-enables the clang-format workflow.

  3. It makes sure that all files obey the style settings in .clang-format.

Related Issues

Closes #450.

Checklist

Additional Comments

This PR is meant to be an alternative to #450. Here are the differences between this PR and that other PR.

[!IMPORTANT]
I’m not so sure that this PR should actually be merged. I have a concern that I wrote about here. Depending on how we decide to resolve that concern, I might end up canceling this PR.