How to auto-format cpplint?

51 Views Asked by At

I'm using Clion to develop C++ programs. For unifying code style, our team introduced cpplint to our project. Since previous codes didn't follow cpplint's code style, a large number of errors need to be fixed.

I have tried to set Clion's C/C++/code style as Google and open settings-code_style-enable_ClangFormat, but the auto-format function doesn't cover most of cpplint's style.

How can I auto-format these codes?

0

There are 0 best solutions below