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…

    147 24

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

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

    Python 50 8

  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-linked versions of clang tools for Linux, Mac OS X and Windows

    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-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 1 Updated Sep 30, 2026
  • clang-tools-static-binaries Public

    static-linked versions of clang tools for Linux, Mac OS X and Windows

    cpp-linter/clang-tools-static-binaries's past year of commit activity
    Python 22 Unlicense 5 0 1 Updated Sep 30, 2026
  • clang-tools-wheel Public

    clang-format and clang-tidy Python wheels

    cpp-linter/clang-tools-wheel's past year of commit activity
    Makefile 0 0 0 1 Updated Sep 30, 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 Sep 30, 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 8 3 (3 issues need help) 0 Updated Sep 30, 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
    147 MIT 24 3 (1 issue needs help) 1 Updated Sep 30, 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 Sep 30, 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 1 Updated Sep 30, 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 2 Updated Sep 27, 2026
  • homebrew-tap Public

    Homebrew tap for clang-tools-static-binaries — clang-format, clang-tidy, clang-query, clang-apply-replacements, clang-include-cleaner

    cpp-linter/homebrew-tap's past year of commit activity
    Ruby 0 0 0 0 Updated Sep 27, 2026