- 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>
- Report uses of the deprecated member fair::mq::Device::fChannels.
- Replace fChannels.at(name).at(index) with GetChannel(name, index) and
every other use with GetChannels().
- Ignore uses inside fair::mq::Device itself.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Report includes of the ten deprecated headers, e.g. <FairMQDevice.h>
or <fairmq/FairMQDevice.h>, and replace them with the successor, e.g.
<fairmq/Device.h>. Today these headers only emit a #pragma warning.
- Keep the quote style of the include.
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>