clang-tidy vs revive
clang-tidy
clang.llvm.orgrevive
revive.runSide by side
| Figure | clang-tidy | revive |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Linux | Yes | — |
| Self-hosted | — | Yes |
| Plans published | 1 | 0 |
| Spec score · Linters | 8.5 (#4) | 6.8 (#32) |
| Configuration | Checks can be selected with comma-separated positive and negative globs, and configuration can be read from a .clang-tidy file. | Rules can be enabled, disabled, and configured in a TOML file, including per-rule severity and exit codes. |
| License | The LLVM project states that its code is licensed under the Apache 2.0 License with LLVM exceptions. | The repository lists the project license as MIT. |
| Purpose | clang-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. | Revive is a fast, configurable, extensible linter for Go and a drop-in replacement for golint. |
Plans
In their own words
clang-tidy
clang-tidy has no write-up on Specifiction yet; its figures are above.