Lines Matching full:clang
3 #===- clang-tidy-diff.py - ClangTidy Diff Checker ------------*- python -*--===#
16 This script reads input from a unified diff, runs clang-tidy on all changed
17 files and outputs clang-tidy warnings in changed lines only. This is useful to
18 detect clang-tidy regressions in the lines touched by a specific patch.
21 git diff -U0 HEAD^ | clang-tidy-diff.py -p1
23 clang-tidy-diff.py -fix -checks=-*,modernize-use-override
36 'Run clang-tidy against changed files, and '
39 parser.add_argument('-clang-tidy-binary', metavar='PATH',
40 default='clang-tidy',
41 help='path to clang-tidy binary')
55 help='checks filter, when not specified, use clang-tidy '
69 help='Run clang-tidy in quiet mode')
120 # Run clang-tidy on files containing changes.