Skip to content
SPECIFICTION
Get listed

clang-tidy vs Clippy

clang-tidy

clang.llvm.org

Clippy

doc.rust-lang.org

Side by side

Figureclang-tidyClippy
Price fromFree—
Free planYes—
Free trial——
Open source——
Windows—Yes
macOS—Yes
LinuxYesYes
Plans published10
Spec score · Linters8.5 (#4)7.6 (#23)
Automatic fixesThe -fix option applies suggested fixes when supported by the corresponding checks.`cargo clippy --fix` can automatically apply some lint suggestions and implies `--all-targets`.
ConfigurationChecks can be selected with comma-separated positive and negative globs, and configuration can be read from a .clang-tidy file.Lint levels can be changed on the command line or in source code, and Clippy supports configuration through `clippy.toml`.
LicenseThe LLVM project states that its code is licensed under the Apache 2.0 License with LLVM exceptions.The Clippy repository is licensed under either Apache License 2.0 or MIT, at the licensee's option.
Purposeclang-tidy is a Clang-based C++ linter for diagnosing and fixing typical programming errors, including style violations, interface misuse, and bugs detectable by static analysis.Clippy is a collection of lints that catches common mistakes and improves Rust code.

Plans

clang-tidy

  • clang-tidyFree

clang-tidy pricing →

Clippy

No plans published.

Clippy pricing →

In their own words

clang-tidy

clang-tidy has no write-up on Specifiction yet; its figures are above.

Visit clang.llvm.org

Clippy

Clippy has no write-up on Specifiction yet; its figures are above.

Visit doc.rust-lang.org