The clang test suite includes a tool, clang-tidy, that does static code analysis.
WT-3219 Make the clang-analyzer job fail when lint is introduced
WT-3216 add support for clang-tidy
https://github.com/wiredtiger/wiredtiger/pull/3678