Skip to content

WIP: Run clang-tidy in a CI job

Bruce Joseph Gallop requested to merge devel_clang_tidy into devel

For now, this is here for comments on what should be run. It only runs on libYarr/Std*.cpp, which have a couple of suggestions.

See the CI job output for examples.

There are two invocations, one is the default, which looks for potential errors. The second invocation is running various modernize checks.

I've disabled one in particular that I don't think is needed modernize-use-trailing-return-type. There are many other checks that could be potentially run, which you can find with:

clang-tidy -checks=* -list-checks

More info here: https://clang.llvm.org/extra/clang-tidy/index.html

Edited by Bruce Joseph Gallop

Merge request reports