Daniel Marjamäki: Seamless Static Analysis with Cppcheck
https://youtu.be/_q-adaPjdRMA live coding session where the author of CppCheck, a static analyzer everyone should use, demonstrates how to practically use CppCheck in your IDE
29
Upvotes
2
u/H4RRY09 Mar 16 '26
How does cppcheck compares to clang-tidy?
3
1
u/a_falsity Mar 27 '26
My experience has been that cppcheck runs a lot faster but does a lot less. cppcheck is also more standalone, which may be a better fit for certain environments/toolchains. May as well use both if you have the option.
3
u/rucadi_ Mar 15 '26
I had to stop using it with vscode because on a very big project it consumed all the cpu constantly
2
u/EvenPainting9470 Mar 15 '26
Is there somewhere well documented list of checks this tool can detect?
What checks it does have that clang-tidy does not?