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/.

Oliver Smith osmith at sysmocom.de
Thu Feb 7 11:12:23 UTC 2019


On 2/7/19 12:05 PM, Holger Freyther wrote> 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.

This would be my favorite approach, especially with enforcing through
jenkins.

Oliver

-- 
- Oliver Smith <osmith at sysmocom.de>            https://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte



More information about the OpenBSC mailing list