Open drodil opened 5 years ago
we are currently using cpplint for maintaining a standardized format. What would clang-format give us over cpplint? I'm not opposed to changing it but would like to understand the advantages.
Thank you @sineang01! This sounds like a reasonable set of advantages. If you're willing to open a PR to replace cpplint with clang-format, I'd be happy to review and merge it. Otherwise it might happen when I find the time to get to it.
@drodil I like this idea, would you be able to make a PR for it? Should be pretty easy, no?
Wow 2y later 😃 Not sure I have time any time soon but I'll keep it in mind!
In order to have the code formatting generalized, I would suggest adding .clang-format configuration file in the project and mention using of clang-format in the contribution guidelines.
More information here: https://clang.llvm.org/docs/ClangFormat.html