diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2024-11-18 11:20:56 +0100 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-12-19 09:25:20 -0800 |
| commit | 27c567de5d1807ac72708ea48018a21f0c6b8dd2 (patch) | |
| tree | 180bc008df788970020b66ae677ea0f4e4a2d0e5 /docs/markdown | |
| parent | 5dc537afd051e60ff00731f73e02d98138d9198b (diff) | |
| download | meson-27c567de5d1807ac72708ea48018a21f0c6b8dd2.tar.gz | |
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')
0 files changed, 0 insertions, 0 deletions
