I used https://github.com/johnmcfarlane/unformat to generate a .clang-format file for the project. I left it running for several hours and this is as good as it got, suggesting that the code isn't consistent.
We can either modify this file to what your expectation is or just use it to run clang-format on the existing codebase so it's consistent.