Commit Graph

6 Commits

Author SHA1 Message Date
Adriaan de Groot
45aac7db66 CI: update clang-format
In clang-format 10, SpaceInEmptyBlock is introduced, and defaults to
true .. which is different from the earlier formatting versions did.
For now, refuse clang-format 10, and search specifically also for
clang-format-9.0.1 because that's what I have on my laptop.

At some point, switch in the config option and then require
clang-format 10 or later (because earlier versions refuse to
run with an unknown config option)
2020-06-17 07:53:40 -04:00
Adriaan de Groot
839e496fcb CI: when I said 'left' I meant 'dont' 2019-08-08 12:41:06 +02:00
Adriaan de Groot
a2ab91474f CI: massage the .clang-format file, it's just ASCII 2019-08-08 12:29:06 +02:00
Adriaan de Groot
2556ba9d55 CI: set style for macro continuations 2019-08-04 22:01:31 +02:00
Adriaan de Groot
e2aa4e59e2 CI: massage the coding style a little 2019-07-04 11:36:37 +02:00
Adriaan de Groot
0a1b27fcfa CI: add clang-format as a tool
- update the style guide to require braces around blocks
 - add a clang-format file that is pretty close to the
   astyle configuration
2019-06-11 13:44:29 +02:00