Commit Graph

2 Commits

Author SHA1 Message Date
James Price
da7c1b3498 Use clang-format-9 for Travis CI formatting checks (#736) 2020-04-15 22:05:00 +01:00
James Price
f413103970 Add clang-format config and check-format.sh script (#724)
* Add clang-format config and check-format.sh script

Travis CI is now configured to run check-format.sh and the job will
fail if any format violations are detected. This will only check the
format of new/modified code; existing code that violates the format
will not cause a CI failure.

* Make format checking the first Travis CI job

* Tweak format based on Jeremy's preferences

* Tweak format based on Kevin's preferences
2020-04-15 15:46:39 +01:00