Commit Graph

3 Commits

Author SHA1 Message Date
dragonmux a9bd23f076 misc: Removed the executable bit from the clang-format configuration 2022-08-07 20:16:04 -07:00
dragonmux 0e184c7b98 misc: Cleaned up the clang-format configuration ready for it to be applied 2022-06-26 18:55:04 -07:00
Sean Cross b29e3758e1 clang-format: add initial format file
Add a format file for `clang-format`. This is based on the
`.clang-format` file from Linux, adjusted to work with this project.

Notably, it opts for 120 characters, given that some functions are
rather wide.

Care was chosen to adopt settings that resulted in a minimum of
disruption when run through the formatter, however since no formatter
has been used before this necessarily results in code that does not
conform to the formatter.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-06-12 16:48:15 -07:00