Pre-requisite: with no clang-tidy installed:
cmake -GNinja ..
Check that cmake returns an error because it fails to find `clang-tidy`.
cmake -GNinja .. -DENABLE_CLANG_TIDY=OFF
ninja
Should return no error.
Install `clang-tidy` version >= 8.
cmake -GNinja ..
ninja check-all bitcoin-bench
Add a `boost::lexical_cast<std::string>` case in any bitcoin-abc source
file, then run `ninja` again. Check that clang-tidy applied the fix and
replaced it with `std::to_string`.
Note: it seems that clang-tidy does not always replace, but sometimes
only outputs the warning.