A Python distribution of clang-apply-replacements - the LLVM-based tool
that applies serialized clang-tidy fix-it replacements (YAML files) to
source files. Install it with a single pip install, no LLVM toolchain
required.
pip install clang-apply-replacementsThe wheel bundles a statically-linked binary and clang builtin headers - no LLVM installation is required on the host machine.
Tip
In CI, use pipx run clang-apply-replacements — no install needed.
All GitHub Actions runners
ship with pipx pre-installed.
Verify:
clang-apply-replacements --versionRun clang-apply-replacements --help to see all available options.
For full usage documentation, see the upstream docs.
- clang-format-wheel — pip-installable clang-format binary
- clang-tidy-wheel — pip-installable clang-tidy binary
- clang-include-cleaner — pip-installable clang-include-cleaner binary
We welcome contributions! See CONTRIBUTING.md for development setup, build instructions, and the release process.
Please use GitHub issues for bug reports and feature requests.
This project is licensed under the Apache License 2.0 with LLVM exceptions - see LICENSE.md for details.
The clang-apply-replacements binary bundled in the wheels is part of the
LLVM Project and is provided under the same license.