diff options
Diffstat (limited to 'lint/TARGETS')
-rw-r--r-- | lint/TARGETS | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lint/TARGETS b/lint/TARGETS index 0a52a37d..5e260c79 100644 --- a/lint/TARGETS +++ b/lint/TARGETS @@ -4,6 +4,7 @@ , "dirs": [ ["LINT: clang-tidy", "clang-tidy"] , ["LINT: clang-format", "clang-format"] + , ["LINT: iwyu", "iwyu"] ] } , "clang toolchain": @@ -63,4 +64,19 @@ , "outs": ["format.diff"] , "deps": ["LINT: clang-format", "create-diff.py"] } +, "iwyu config": + {"type": "install", "files": {"iwyu-mapping": "iwyu-mapping.imp"}} +, "LINT: iwyu": + { "type": ["@", "rules", "lint", "targets"] + , "tainted": ["test"] + , "name": ["iwyu"] + , "linter": ["run_iwyu.py"] + , "summarizer": ["summary.py"] + , "config": ["iwyu config", "clang"] + , "targets": + [ ["@", "src", "src/buildtool/main", "just"] + , ["@", "src", "src/other_tools/just_mr", "just-mr"] + , ["@", "tests", "", "ALL"] + ] + } } |