aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-11-18 11:20:56 +0100
committerDylan Baker <dylan@pnwbakers.com>2024-12-19 09:25:20 -0800
commit27c567de5d1807ac72708ea48018a21f0c6b8dd2 (patch)
tree180bc008df788970020b66ae677ea0f4e4a2d0e5 /docs/markdown/snippets
parent5dc537afd051e60ff00731f73e02d98138d9198b (diff)
downloadmeson-27c567de5d1807ac72708ea48018a21f0c6b8dd2.zip
meson-27c567de5d1807ac72708ea48018a21f0c6b8dd2.tar.gz
meson-27c567de5d1807ac72708ea48018a21f0c6b8dd2.tar.bz2
scripts: add "clippy" internal tool
Similar to the "ninja scan-build" target for C, add a clippy internal tool that runs clippy-driver on all crates in the project. The approach used is more efficient than with "ninja scan-build", and does not require rerunning Meson in a separate build directory; it uses the introspection data to find the compiler arguments for the target and invokes clippy-driver with a slightly modified command line. This could actually be applied to scan-build as well, reusing the run_tool_on_targets() function. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/markdown/snippets')
0 files changed, 0 insertions, 0 deletions