Kate have just clang-formatted all their code, a few
other proejcts have too (see T11214). I think we can move
We need to bikeshed on the exact formatting.
We had a version proposed, but being similar to Kate makes
a lot of sense too.
This is the same clang format file as Kate without the column limit
and with sorted includes which KWin people wanted.
If I upload a big diff to phab to see the result the web UI
will have a meltdown.
Instead download this patch (for any repo) and run
find . -name \*.h -print -o -name \*.cpp -print | xargs clang-format -i from the root of the source directory