I have to disable auto-format function of my code editor when I modify code to keep the code style, a code formatter may help with this. [Clang-tidy](https://clang.llvm.org/extra/clang-tidy/) is a good choice.