Skip to content
@cpp-linter

cpp-linter

Lint your C/C++ code in workflow
cpp-linter: C/C++ pull requests that arrive already checked.

cpp-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

The clang tools also come as static binaries for Linux, macOS and Windows, a Homebrew tap for macOS, an asdf plugin and Docker images.

Maintained by two volunteers, @shenxianpeng and @2bndy5. Sponsorship goes to the project through Open Collective, where all income and expenses are public.

Pinned Loading

  1. cpp-linter-action cpp-linter-action Public

    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…

    146 24

  2. cpp-linter-hooks cpp-linter-hooks Public

    C/C++ linter pre-commit hooks powered by clang-format and clang-tidy

    Python 50 9

  3. cpp-linter cpp-linter Public

    cpp-linter core Python executable package

    Python 35 13

  4. 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.

    Python 11 1

  5. 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.

    Python 22 5

  6. clang-tools-docker clang-tools-docker Public

    🐳 Clang Tools Docker image includes the clang-format and clang-tidy.

    HCL 15 1

Repositories

Showing 10 of 16 repositories
  • 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/clang-tools-static-binaries's past year of commit activity
    Python 22 Unlicense 5 0 1 Updated Oct 1, 2026
  • cpp-linter Public

    cpp-linter core Python executable package

    cpp-linter/cpp-linter's past year of commit activity
    Python 35 MIT 13 7 4 Updated Oct 1, 2026
  • cpp-linter-action Public

    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.

    cpp-linter/cpp-linter-action's past year of commit activity
    146 MIT 24 3 (1 issue needs help) 2 Updated Oct 1, 2026
  • cpp-linter-hooks Public

    C/C++ linter pre-commit hooks powered by clang-format and clang-tidy

    cpp-linter/cpp-linter-hooks's past year of commit activity
    Python 50 MIT 9 3 (3 issues need help) 2 Updated Oct 1, 2026
  • clang-tools-pip Public

    Install clang-format, clang-tidy, clang-query, clang-apply-replacements and clang-include-cleaner binaries with clang-tools CLI.

    cpp-linter/clang-tools-pip's past year of commit activity
    Python 11 MIT 1 0 2 Updated Oct 1, 2026
  • 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.

    cpp-linter/cpp-linter-rs's past year of commit activity
    Rust 4 MIT 1 2 4 Updated Oct 1, 2026
  • clang-tools-docker Public

    🐳 Clang Tools Docker image includes the clang-format and clang-tidy.

    cpp-linter/clang-tools-docker's past year of commit activity
    HCL 15 1 0 2 Updated Oct 1, 2026
  • .github Public

    Global configurations for cpp-linter organization on GitHub

    cpp-linter/.github's past year of commit activity
    Python 0 MIT 0 0 0 Updated Oct 1, 2026
  • cpp-linter.github.io Public

    cpp-linter organization website

    cpp-linter/cpp-linter.github.io's past year of commit activity
    Python 1 MIT 0 2 1 Updated Oct 1, 2026
  • clang-include-cleaner Public

    clang-include-cleaner Python wheels

    cpp-linter/clang-include-cleaner's past year of commit activity
    Python 0 Apache-2.0 0 0 0 Updated Oct 1, 2026