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