Skip to content
@cpp-linter

cpp-linter

Lint your C/C++ code in workflow
cpp-linter brand logo

Lint and format your C/C++ code in every workflow — GitHub Actions, pre-commit hooks, and CLI.

Docs GitHub Action pre-commit CLI License Sponsor me on Open Collective


📖 About

The cpp-linter organization delivers clang-format, clang-tidy, and other LLVM tools as ready-to-use packages across GitHub Actions, pre-commit hooks, CLI, Docker, and more — no building from source.


🧭 Which one should I use?

Your goal Start here One-liner
CI/CD linting cpp-linter-action Add to .github/workflows/
Pre-commit linting cpp-linter-hooks Add to .pre-commit-config.yaml
Cross-platform CLI clang-tools-pip pip install clang-tools
macOS native homebrew-tap brew tap cpp-linter/tap && brew install clang-tools
Version management asdf-clang-tools asdf plugin add clang-format ...
Docker images clang-tools-docker docker pull ...
Static binaries clang-tools-static-binaries Download from releases

📖 Browse every repository on the organization page →


👥 Maintainers

shenxianpeng
shenxianpeng
2bndy5
2bndy5

🤝 Contributing

We welcome contributions of all kinds — bug reports, feature requests, documentation improvements, and code.


Made with ❤️ by the cpp-linter community

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…

    145 24

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

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

    Python 49 6

  3. cpp-linter cpp-linter Public

    cpp-linter core Python executable package

    Python 35 12

  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 10 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 19 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
  • 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 7, 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 5 0 Updated Sep 7, 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 49 MIT 6 2 (2 issues need help) 1 Updated Sep 7, 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 19 Unlicense 5 0 1 Updated Sep 7, 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 10 MIT 1 0 1 Updated Sep 7, 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
    145 MIT 24 4 (1 issue needs help) 4 Updated Sep 3, 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 3, 2026
  • asdf-clang-tools Public

    asdf plugin for clang tools (clang-format, clang-tidy, clang-query and clang-apply-replacements)

    cpp-linter/asdf-clang-tools's past year of commit activity
    Shell 2 MIT 0 1 1 Updated Sep 2, 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 2, 2026
  • .github Public

    Global configurations for cpp-linter organization on GitHub

    cpp-linter/.github's past year of commit activity
    0 MIT 0 1 1 Updated Sep 2, 2026