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(a)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