cppcheck
cppcheck copied to clipboard
static analysis of C/C++ code
This should prevent the client script from exiting in some cases of a single connection issue.
Extracted from #4325. This is the first step in getting rid of hard-coded platforms and should have no effect at all beside making it consistent (and uncovering issues).
Scanning `mame_regtest` with `--enable=all --inconclusive` and `DISABLE_VALUEFLOW=1`: Clang 14 `2,082,292,106` -> `2,073,152,473` Clang 14 `1,829,061,568` -> `1,766,615,436` (with Boost 1.74)
See https://github.com/actions/runner-images/blob/main/images/win/Windows2019-Readme.md#tools and https://github.com/actions/runner-images/blob/main/images/win/Windows2022-Readme.md#tools.
Here are two patch that lives in the [conan center index recipe](https://github.com/conan-io/conan-center-index/tree/master/recipes/cppcheck/all). Tell me if it is relevant of if it need some further improvements.
This is a very old change and after reviewing the code for the loading of non-`cfg` files it turns out that the existing behavior is actually a bug. All the...