Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
I've worked with clang-tidy before and I think it works well. There is also a helper script that runs clang-tidy on a patch rather than the entire source tree.
- pull in clang as a dependency
- Define .clang-format
- Run clang-tidy-diff on each checkin
There are also other tools like cpplint from Google. I don't have any preference, so either works for me.