clang-tidy vs cpplint
clang-tidy
clang.llvm.orgcpplint
github.comSide by side
| Figure | clang-tidy | cpplint |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Linters | 8.5 (#4) | 7.9 (#12) |
| License | The LLVM project states that its code is licensed under the Apache 2.0 License with LLVM exceptions. | The package is distributed under the BSD-3-Clause license. |
| 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. | Cpplint is a command-line tool that checks C/C++ files for style issues according to Google’s C++ style guide. |
Plans
In their own words
clang-tidy
clang-tidy has no write-up on Specifiction yet; its figures are above.