This small patch adds a new -extra-arg-clang-tidy option to clang-tidy-diff and run-clang-tidy scripts. This is especially handy in addition to the -checks option, to tune the executed checks.
Example:
clang-tidy-diff.py -checks='-*,clang-analyzer-*' -extra-arg-clang-tidy='-warnings-as-errors=-*,clang-analyzer-*'