cpp-linter
Lint your C/C++ code in workflowcpp-linter runs clang-format and clang-tidy on C and C++ code: on every pull request, before every commit and on your laptop, at the same LLVM version.
Website · Get started · Showcase · Discussions · Sponsor
Pick where the checks run
| Where | Project | Start with |
|---|---|---|
| On every pull request | cpp-linter-action | uses: cpp-linter/cpp-linter-action@v2 |
| Before every commit | cpp-linter-hooks | args: [--style=file, --version=21] |
| Locally or in other CI | cpp-linter | pip install cpp-linter |
| Just the clang tools | clang-tools | pip install clang-tools |
Get the tools themselves
Static binaries for LLVM 12–23 on six platforms, downloaded 540,000+ times. Also packaged for:
- PyPI: clang-include-cleaner · clang-apply-replacements · llvm-cov · ccache-bin
- More: npm · Homebrew · asdf · Docker · direct download
Maintained by two volunteers, @shenxianpeng and @2bndy5. Sponsor the project on GitHub Sponsors; see the sponsor tiers.
Pinned Loading
-
cpp-linter-action cpp-linter-action Public
Lint C/C++ pull requests with clang-format and clang-tidy, and post the results as annotations, comments or reviews.
-
clang-tools-static-binaries clang-tools-static-binaries Public
Static binaries of clang-format, clang-tidy and other LLVM tools, so you can use them without building LLVM.
-
cpp-linter-hooks cpp-linter-hooks Public
C/C++ linter pre-commit hooks powered by clang-format and clang-tidy
-
cpp-linter-rs cpp-linter-rs Public
A CLI tool that scans a batch of files with clang-tidy and/or clang-format, then provides feedback in the form of comments, annotations, summaries, and reviews.
-
clang-tools-pip clang-tools-pip Public
Install clang-format, clang-tidy, clang-query, clang-apply-replacements and clang-include-cleaner binaries with clang-tools CLI.
-
clang-tools-docker clang-tools-docker Public
🐳 Clang Tools Docker image includes the clang-format and clang-tidy.
Repositories
Showing 10 of 23 repositories-
cpp-linter.github.io
Public
cpp-linter organization website
Uh oh!
There was an error while loading. Please reload this page.
cpp-linter/cpp-linter.github.io's past year of commit activity Python 1 MIT 0 0 1 Updated Dec 3, 2026 -
wheels
Public
Uh oh!
There was an error while loading. Please reload this page.
cpp-linter/wheels's past year of commit activity Python 0 MIT 0 0 1 Updated Dec 3, 2026 -
clang-tools-static-binaries
Public
Static binaries of clang-format, clang-tidy and other LLVM tools, so you can use them without building LLVM.
Uh oh!
There was an error while loading. Please reload this page.
cpp-linter/clang-tools-static-binaries's past year of commit activity Python 25 Unlicense 5 1 2 Updated Dec 3, 2026 -
.github
Public
Global configurations for cpp-linter organization on GitHub
Uh oh!
There was an error while loading. Please reload this page.
cpp-linter/.github's past year of commit activity Python 0 MIT 0 0 0 Updated Dec 3, 2026 -
clang-tools-wheel
Public
clang-format and clang-tidy Python wheels
Uh oh!
There was an error while loading. Please reload this page.
cpp-linter/clang-tools-wheel's past year of commit activity Makefile 0 Apache-2.0 0 0 1 Updated Dec 3, 2026 -
include-what-you-use-wheel
Public
Uh oh!
There was an error while loading. Please reload this page.
cpp-linter/include-what-you-use-wheel's past year of commit activity 0 0 0 0 Updated Dec 3, 2026 -
llvm-cov-wheel
Public
llvm-cov and llvm-profdata as Python wheels
Uh oh!
There was an error while loading. Please reload this page.
cpp-linter/llvm-cov-wheel's past year of commit activity Python 0 MIT 0 0 0 Updated Dec 3, 2026 -
clang-apply-replacements-wheel
Public
clang-apply-replacements Python wheels
Uh oh!
There was an error while loading. Please reload this page.
cpp-linter/clang-apply-replacements-wheel's past year of commit activity Python 0 Apache-2.0 0 0 0 Updated Dec 2, 2026 -
clang-tools-pip
Public
Install clang-format, clang-tidy, clang-query, clang-apply-replacements and clang-include-cleaner binaries with clang-tools CLI.
Uh oh!
There was an error while loading. Please reload this page.
cpp-linter/clang-tools-pip's past year of commit activity Python 11 MIT 1 1 0 Updated Dec 2, 2026 -
clang-include-cleaner-wheel
Public
clang-include-cleaner Python wheels
Uh oh!
There was an error while loading. Please reload this page.
cpp-linter/clang-include-cleaner-wheel's past year of commit activity Python 0 Apache-2.0 0 1 0 Updated Dec 2, 2026
People
Top languages
Loading…
Uh oh!
There was an error while loading. Please reload this page.
Most used topics
Loading…
Uh oh!
There was an error while loading. Please reload this page.