Re:C++ Ecosystem: Compilers, IDEs, Tools, Testing
by Fronzie on Tuesday October 08, 2019 @04:42PM
(#21197002)
Note that https://clang-analyzer.llvm.org/scan-build.html is another llvm-based static analyzer.
It does a more deep analysis into the control flow, whereas clang-tidy does (mostly?) comparatively simpler checks on the AST.
Re:C++ Ecosystem: Compilers, IDEs, Tools, Testing
by pnako on Tuesday October 08, 2019 @04:59PM
(#21197203)
You can actually run the static analysis checks from clang-tidy.
Re:C++ Ecosystem: Compilers, IDEs, Tools, Testing
by account42 on Wednesday October 09, 2019 @10:20AM
(#21203511)
But you won't get the detailed HTML output that tells you why Clang Analyzer things a problem exists.
Re:C++ Ecosystem: Compilers, IDEs, Tools, Testing
by jcelerier on Tuesday October 08, 2019 @05:36PM
(#21197555)
yep, see all the clang-analyzer checks listed here : https://clang.llvm.org/extra/clang-tidy/checks/list.html
Re:C++ Ecosystem: Compilers, IDEs, Tools, Testing
by Thieum22 on Tuesday October 08, 2019 @10:01PM
(#21199279)
direct link to cppcheck releases: https://github.com/danmar/cppcheck/releases
- cppcheck is sometimes updated also
- clazy : https://github.com/KDE/clazy