run-clang-format
A wrapper script around clang-format, suitable for linting multiple files and to use for continuous integration (by Sarcasm)
pre-commit-hooks
C/C++ hooks to integrate with pre-commit (by pocc)
run-clang-format | pre-commit-hooks | |
---|---|---|
1 | 1 | |
235 | 290 | |
- | - | |
0.0 | 0.0 | |
9 months ago | about 2 months ago | |
Python | Python | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
run-clang-format
Posts with mentions or reviews of run-clang-format.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-09.
pre-commit-hooks
Posts with mentions or reviews of pre-commit-hooks.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-13.
-
C/C++ pre-commit hooks for static analyzers and linters
I maintain pre-commit hooks for C/C++ linters and static analyzers using the pre-commit framework. These allow you to verify that your code is free of common errors and to format it consistently. Included are
What are some alternatives?
When comparing run-clang-format and pre-commit-hooks you can also consider the following projects:
cpp-linter-action - A Github Action for linting C/C++ code integrating clang-tidy and clang-format to collect feedback provided in the form of file-annotations, thread-comments, workflow step-summary, and Pull Request reviews.
cake - Cake a C23 front end and transpiler written in C
cmake-lint - Fork of https://github.com/richq/cmake-lint to continue maintenance
codechecker - CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy
include-what-you-use - A tool for use with clang to analyze #includes in C and C++ source files