We've tried to beautify our code a bit with clang-format tool.
In order to get unified result on all machines we've done clang-format --style=llvm --dump-config
, which has been tuned a bit and stored into repo.
The issue is that clang 10 and 9 seem to provide us with different output for exactly the same code. I've seen changes in comments alignment only so far, but it still breaks the whole idea of getting code style consistent. Another issue is that clang 9 is unable to parse some settings dumped from v10.
Is there any way to insure consistent formatting across multiple versions of clang-format?