Used clang-tidy 7.0 with the command: run-clang-tidy.py \ -header-filter='boost\/gil\/.*' \ -checks='-*,modernize-use-nullptr' -fix Update CONTRIBUTING.md on how to generate compile command database and run clang-tidy.