Not a developer, so won't chime in on format syntax, but this is neat: https://github.com/andrewseidl/githook-clang-format/blob/master/README.md
Automatically apply the format on commit.
Cheers,
Kevin
I'd quite like to run clang-format on all our source code. I'd even
like to optionally run it over our generated source code at build time.
I've added a clang-format syntax file for people to try out:
https://git.gnome.org/browse/gtkmm/commit/?id=66f1468b7548e22dd574f170c
5930c9e61724200
At this point we might want to agree on a code style, if we can,
without bikeshedding, please. If you have ever provided a patch or
commit and you have an opinion, please give it briefly.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list