Differences between revisions 7 and 8
Revision 7 as of 2016-05-26 22:22:41
Size: 862
Editor: SamatJain
Comment: Qt
Revision 8 as of 2016-05-28 07:15:39
Size: 1170
Editor: SamatJain
Comment: Static analysis tools
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:

== Static analysis tools ==

 * [[http://clang-analyzer.llvm.org/|Clang Static Analyzer]]: sets CC and CXX to use alternate compiler to do analysis
 * [[http://cppcheck.sourceforge.net/|Cppcheck]]; [[https://github.com/danmar/cppcheck/|github:danmar/cppcheck]]

{{{
cppcheck --enable=all *.cpp
}}}

Clang-Tidy — Extra Clang Tools 3.9 documentation

Use:

clang-tidy -checks='*' main.cpp -- -std=c++11

ClangFormat: auto-formats C++ code

C++ style guides

Static analysis tools

cppcheck --enable=all *.cpp

SamatsWiki: CodingStyle/C++ (last edited 2020-09-02 20:49:51 by SamatJain)