Commit Graph

3 Commits

Author SHA1 Message Date
Richard Hughes
a75266e701 trivial: Add the missing unversioned clang-format-diff 2021-07-24 16:38:04 +01:00
Daniel Campello
af1577342a reformat-code.py: add argumentless mode for formatting diffs 2021-07-23 12:41:22 -06:00
Mario Limonciello
7787ba6df9 Add a .clang-format file and helper tool
It won't automatically be enforced, but should be picked up by editors
that support it (such as VS code + CPP extension)

It doesn't yet follow project style entirely, so more tweaking is
likely needed.

Also add a helper tool for reformatting new files to match project style
2021-07-22 16:38:29 +01:00