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
It does a more deep analysis into the control flow, whereas clang-tidy does (mostly?) comparatively simpler checks on the AST.