Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround cppcheck ignoring
-i libpromises/cf3lex.c
When running cppcheck in static checks, we use `-i libpromises/cf3lex.c` in order to make cppcheck ignore the generated cf3lex.c file. However, the new version of cppcheck ignores this option and fails on issues found in the file. However, we don't want this file or any other generated files except for bootstrap.inc which contains the bootstrap policy. So we can run `make clean` and `make -C libpromise/ boostrap.inc` before running cppcheck to get a cleaner environment. (cherry picked from commit e9cfa41) Signed-off-by: Lars Erik Wik <[email protected]>
- Loading branch information