Skip to content

Analyzers

dk949 edited this page May 21, 2022 · 1 revision

Static analyzers analyze the source code and help discover bugs in it. Support for three analyzers is provided, but all of them have to be installed individually on the system before they can be enabled. Available analyzers are:

  • cppcheck
    • General purpose static analyzer, not as heavy-handed as clang-tidy. Unlike the other two it is not based on clang.
  • clang-tidy
    • Highly configurable general purpose analyzer based on clang.
  • include-what-you-use
    • Checks whether any file relies on types or functions from transitive includes.
    • Depending on the version it may not work when using the fmt library.

Clone this wiki locally