coding style: fixed indenting vs align-with-brace

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Freyther holger at freyther.de
Thu Feb 7 11:05:23 UTC 2019



> On 6. Feb 2019, at 12:34, Harald Welte <laforge at gnumonks.org> wrote:
> 

> I would appreciate if we could keep it that way and focus our energy on actual
> implementation work.  Of course, if you guys want to discuss it, you are free.
> The above is just my point of view.

I have been using clang-format for a while. It is quite relieving to just type and let the tool format the code according to the agreed style. We can use the kernel .clang-format and modify it for our changes.

This can be integrated into the jenkins tests to fail verification if clang-format would introduce a diff.

holger


More information about the OpenBSC mailing list