- Add the MODULE library fairmq-tidy-plugin, installed as
libfairmq-tidy-checks.so. It adds the fairmq-* checks to a stock
clang-tidy of the same LLVM release via --load.
- Do not link the LLVM libraries into the plugin: the loading clang-tidy
has them.
- Run every check test also through the plugin, if a clang-tidy of the
found LLVM installation exists.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Add test/tidy/RunCheck.cmake, a small check_clang_tidy.py: run one
check with --fix on a copy of the input, then match the diagnostics
against CHECK-MESSAGES lines and the fixed file against CHECK-FIXES
lines. Any other warning or error fails the test.
- Register one test per test/tidy/fairmq-*.cxx file. The inputs use the
real FairMQ headers via the usage requirements of the FairMQ target.
- Skip the tests with a warning if FileCheck is not found.
- Add the test for fairmq-modernize-nonnamespaced-types.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>