|
Create scons build logic and simple check matching SERVER-68867.
As a result of this ticket
1. There should be a scons target that builds a shared object that can be used with https://clang.llvm.org/extra/clang-tidy/Contributing.html#out-of-tree-check-plugins. I think the source code should live in buildscripts/clang_tidy/[*.cpp|*.h]. Open to other ideas.
2. There should be a check matching the requirements of SERVER-68867
3. The run_clang_tidy.py script should be updated to optionally take an argument to a shared object to be loaded. On the pr you should run this locally and paste the output showing that it is working.
|