Skip to main content

Clang-apply-replacements is an LLVM-based tool for applying clang-tidy fix-it replacements

Project description

clang-apply-replacements

PyPI version Platform Build PyPI - Downloads cpp-linter hub

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.


Table of Contents

Installation

pip install clang-apply-replacements

The 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 --version

Run clang-apply-replacements --help to see all available options.

For full usage documentation, see the upstream docs.

Related Projects

Contributing

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.

License

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clang_apply_replacements-17.0.6.tar.gz (15.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

clang_apply_replacements-17.0.6-py2.py3-none-win_amd64.whl (1.4 MB view details)

Uploaded Python 2Python 3Windows x86-64

clang_apply_replacements-17.0.6-py2.py3-none-win32.whl (1.2 MB view details)

Uploaded Python 2Python 3Windows x86

clang_apply_replacements-17.0.6-py2.py3-none-musllinux_1_2_x86_64.whl (2.9 MB view details)

Uploaded Python 2Python 3musllinux: musl 1.2+ x86-64

clang_apply_replacements-17.0.6-py2.py3-none-musllinux_1_2_i686.whl (3.1 MB view details)

Uploaded Python 2Python 3musllinux: musl 1.2+ i686

clang_apply_replacements-17.0.6-py2.py3-none-manylinux_2_31_armv7l.whl (1.5 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.31+ ARMv7l

clang_apply_replacements-17.0.6-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.6 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

clang_apply_replacements-17.0.6-py2.py3-none-manylinux_2_26_i686.manylinux_2_28_i686.whl (1.8 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.26+ i686manylinux: glibc 2.28+ i686

clang_apply_replacements-17.0.6-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (1.6 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

clang_apply_replacements-17.0.6-py2.py3-none-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded Python 2Python 3macOS 11.0+ ARM64

clang_apply_replacements-17.0.6-py2.py3-none-macosx_10_9_x86_64.whl (1.3 MB view details)

Uploaded Python 2Python 3macOS 10.9+ x86-64

File details

Details for the file clang_apply_replacements-17.0.6.tar.gz.

File metadata

File hashes

Hashes for clang_apply_replacements-17.0.6.tar.gz
Algorithm Hash digest
SHA256 2c754ae3d4a4c61140bdb11a6bc43c0ca961c8266261dcae7d0852413410e569
MD5 da4980823c87844c9fb8dfa34439124a
BLAKE2b-256 e518a7ba24c9d2928e64d178d856dc98668aae05de4539ab372f1f188b6c6ff9

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_apply_replacements-17.0.6.tar.gz:

Publisher: release.yml on cpp-linter/clang-apply-replacements

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_apply_replacements-17.0.6-py2.py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for clang_apply_replacements-17.0.6-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 35c70893eb77c308b1d34f735cac87d64439bb70d628dd4e5ceecb9108dc5b5c
MD5 025f4322a29efc59f1232be22e0b993b
BLAKE2b-256 c2f1bdd0f56070f1dca37f3c46414fad1f014bdbba388c0f09e42077fc3b8a6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_apply_replacements-17.0.6-py2.py3-none-win_amd64.whl:

Publisher: release.yml on cpp-linter/clang-apply-replacements

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_apply_replacements-17.0.6-py2.py3-none-win32.whl.

File metadata

File hashes

Hashes for clang_apply_replacements-17.0.6-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 d04887191909d07805fe2b3e685eef0c7ce3540038e9e88fd1bbe862d73fcbef
MD5 d4df2aae696f8dfaf6f72fd8e052ae88
BLAKE2b-256 c6a8bb6a93e173712a847645d0a9b7da6337b773243954e579653ec5d4d84f40

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_apply_replacements-17.0.6-py2.py3-none-win32.whl:

Publisher: release.yml on cpp-linter/clang-apply-replacements

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_apply_replacements-17.0.6-py2.py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for clang_apply_replacements-17.0.6-py2.py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 24ac318b1138cd31dc06562198209b9bfe129a0eaeb1457763e40a010bc0ca48
MD5 a0cf0ea4dd58d4f11698badfe2089422
BLAKE2b-256 ef65522b3287d99536ab7bad2f7e542a64e765763148d097e1c4420738f4e482

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_apply_replacements-17.0.6-py2.py3-none-musllinux_1_2_x86_64.whl:

Publisher: release.yml on cpp-linter/clang-apply-replacements

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_apply_replacements-17.0.6-py2.py3-none-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for clang_apply_replacements-17.0.6-py2.py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 c967e08598c99216bb1dec61ff2a687868347b462fa2b1f9c3f7061569f04948
MD5 eb2ec6a0495ff2fbfa8ef02fc14ee09d
BLAKE2b-256 a951fbc56572d93d84096e056fb17615e045896442684464a5affbc42abea4c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_apply_replacements-17.0.6-py2.py3-none-musllinux_1_2_i686.whl:

Publisher: release.yml on cpp-linter/clang-apply-replacements

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_apply_replacements-17.0.6-py2.py3-none-manylinux_2_31_armv7l.whl.

File metadata

File hashes

Hashes for clang_apply_replacements-17.0.6-py2.py3-none-manylinux_2_31_armv7l.whl
Algorithm Hash digest
SHA256 8cdfd041464eb6153f74435fc1314472fc71a7526d8c3bd04851f09862a9c273
MD5 ee192953f84715dac18e53d67d5d8000
BLAKE2b-256 376ba155e2c2f2ba4a2777f7c8460ddae12d0181bc67f03397e534970159ee95

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_apply_replacements-17.0.6-py2.py3-none-manylinux_2_31_armv7l.whl:

Publisher: release.yml on cpp-linter/clang-apply-replacements

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_apply_replacements-17.0.6-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for clang_apply_replacements-17.0.6-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7edae77d92c724ae9f27b17332c4e60541d733d5617f75253e133881afafb876
MD5 725531da4c08a37b48d51536a88193e7
BLAKE2b-256 f0a6e5686a343dcb342f142087d96d259ef41171be5cb841d62e1003608a30da

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_apply_replacements-17.0.6-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on cpp-linter/clang-apply-replacements

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_apply_replacements-17.0.6-py2.py3-none-manylinux_2_26_i686.manylinux_2_28_i686.whl.

File metadata

File hashes

Hashes for clang_apply_replacements-17.0.6-py2.py3-none-manylinux_2_26_i686.manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 506523dc10ab5d2c5a3eb0e87e267aa4cf452b26252ccc093764d1d73981ce4e
MD5 82dfb5f56b49ea470a2788d156d7bc6e
BLAKE2b-256 f452ae54613fb56623a320733de1ebc5dda46e1a1feba17b7efce163b67c2ff1

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_apply_replacements-17.0.6-py2.py3-none-manylinux_2_26_i686.manylinux_2_28_i686.whl:

Publisher: release.yml on cpp-linter/clang-apply-replacements

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_apply_replacements-17.0.6-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for clang_apply_replacements-17.0.6-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 83ab83f9c65fe94dffa7c8fd9c346d8631e34edf1d78343241c184e7e63738e5
MD5 7e0c1a500d72869a5cceeb83781d45b7
BLAKE2b-256 1aa77573bb1a6a7474071d28b59690ef413fda436d2aea99a60199029c88b372

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_apply_replacements-17.0.6-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl:

Publisher: release.yml on cpp-linter/clang-apply-replacements

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_apply_replacements-17.0.6-py2.py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for clang_apply_replacements-17.0.6-py2.py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1ab1327ec27e64ea2ec50050207575de4d1919468c15dabc7dbfcee298cec0fc
MD5 460cca92cc0736c5a2ff993d3b114ca6
BLAKE2b-256 b250c689007ca0fd2d8d02c4f9030b5c6b687857467519ec8f20588bb4f2d0fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_apply_replacements-17.0.6-py2.py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on cpp-linter/clang-apply-replacements

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_apply_replacements-17.0.6-py2.py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for clang_apply_replacements-17.0.6-py2.py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 03ccb7ceb177f83704557c77d7a744b55dce225b2de13d372b59a746b809cd13
MD5 d6b5c69446c64c4e829202ab338b46a5
BLAKE2b-256 dd5ee76210840f99aca0da64bab51472407345b0391fb5f6aa72b3893150d81b

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_apply_replacements-17.0.6-py2.py3-none-macosx_10_9_x86_64.whl:

Publisher: release.yml on cpp-linter/clang-apply-replacements

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page